Index: debian/control =================================================================== --- debian/control (revision 6168) +++ debian/control (working copy) @@ -73,7 +73,7 @@ Package: fai-nfsroot Architecture: all -Depends: fai-client, live-initramfs, fai-setup-storage +Depends: fai-client, live-boot|live-initramfs, fai-setup-storage Conflicts: fai, fai-kernels Description: Fully Automatic Installation nfsroot package FAI is a non-interactive system to install, customize and manage Index: bin/fai =================================================================== --- bin/fai (revision 6168) +++ bin/fai (working copy) @@ -273,15 +273,17 @@ export do_init_tasks=0 [ "$0" = "/etc/init.d/rcS" ] || [ X$UPSTART_JOB = Xfai ] && do_init_tasks=1 if [ $do_init_tasks -eq 1 ]; then - hostname $HOSTNAME - # live-config provides hostname handling through a separate script, - # $HOSTNAME isn't available in environment any longer - if [ -x /lib/live/config.sh ] ; then - LIVE_CONFIGS=hostname /lib/live/config.sh - HOSTNAME=$(hostname) - fi + # if hostname was set on the kernel command line (mostly when booting from CD) + for word in $(cat /proc/cmdline) ; do + case $word in + hostname=*) + HOSTNAME=${word#*hostname=} + ;; + esac + done + hostname $HOSTNAME export HOSTNAME renewclass=1 # always renew class list when installing