Maybe the problem is in ltsp-client-builder.postinst:

# make sure /etc/dhcp3/dhcpd.conf is for the right architecture
LTSP_ARCH=$(ls -1 /target/opt/ltsp/images | sed "s/.img//g")
chroot /target sed "s/i386/$LTSP_ARCH/g" -i /etc/ltsp/dhcpd.conf

If for some reason the compressed image was named 
/opt/ltsp/images/i386.img.tmp, that would result in the dhcpd.conf you're 
seeing.
Maybe ltsp-update-image failed for some reason in your installation, and 
i386.img.tmp was never renamed to i386.img?

Rewriting the previous 2 lines this way may solve the problem (untested):
for f in /target/opt/ltsp/images/*; do
    LTSP_ARCH="${f/.*}";
    break;
done
if [ -n "$LTSP_ARCH" ] && [ "$LTSP_ARCH" != "i386" ]; then
    sed -i "s/i386/$LTSP_ARCH/g" /target/etc/ltsp/dhcpd.conf
fi

-- 
default LTSP dhcpd.conf file wrongly configured
https://bugs.launchpad.net/bugs/573207
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to