Package: fai-server
Version: 3.2.10
Severity: minor
Tags: patch
make-fai-nfsroot does not print the version of
debootstrap it is using when used on a lenny system. This information
is very useful to new users for debugging problems.
This simple patch fixes the problem on lenny and also works on etch.
Index: make-fai-nfsroot
===================================================================
--- make-fai-nfsroot (revision 5067)
+++ make-fai-nfsroot (working copy)
@@ -241,7 +241,7 @@
die "NFSROOT directory $NFSROOT is mounted using nosuid or nodev.
Aborting"
fi
- local dversion=$(dpkg -l debootstrap | grep debootstrap | cut -f7 -d' ')
+ local dversion=$(dpkg -l debootstrap | grep debootstrap | awk '{print $3}')
--
regards Thomas
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]