[PATCH] Include $FAI_DEBOOTSTRAP_OPTS when echoing deboostrap command line.

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Dec 13 21:14:01 CET 2011


---
 bin/fai-make-nfsroot |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/fai-make-nfsroot b/bin/fai-make-nfsroot
index 3448ffe..579b8ab 100755
--- a/bin/fai-make-nfsroot
+++ b/bin/fai-make-nfsroot
@@ -249,7 +249,7 @@ call_debootstrap() {
     fi
     local dversion=$(dpkg -l debootstrap | awk '/debootstrap/ {print $3}')
     echo "Creating base system using debootstrap version $dversion"
-    echo "Calling debootstrap $1 $NFSROOT $2"
+    echo "Calling debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $NFSROOT $2"
     LC_ALL=C call_verbose debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $NFSROOT $2
     if [ $? -ne 0 ]; then
 	echo "ERROR: debootstrap did not complete successfully."
-- 
1.7.7.3



More information about the linux-fai-devel mailing list