faireboot and removing diversions
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Wed Jun 5 18:26:23 CEST 2002
If faireboot is _not_ run from the target box console, but from a
remote ssh session, removing diversions will fail because ROOTCMD
is unknown. There might be a better way, but this patch will set
things right.
--- /usr/lib/fai/nfsroot/sbin/faireboot.org Wed Jun 5 16:48:54 2002
+++ /usr/lib/fai/nfsroot/sbin/faireboot Wed Jun 5 16:47:44 2002
@@ -13,6 +13,7 @@
esac
done
FAI_ROOT=/tmp/target
+ROOTCMD="chroot $FAI_ROOT"
cd /
killall -STOP rcS
Cheers,
Jörgen and Cristian
More information about the linux-fai
mailing list