If dhcp is disabled, the following sed script is invoked by init.d/autoconfig: sed -i -e '/^ifconfig_eth/ s//^#/' \ -e '/^iface_eth/ s//^#/' \ /etc/conf.d/net This is wrong, and leads to lines like this in /etc/conf.d/net: ^#0="dhcp" ^#1="dhcp" etc. which causes syntax errors. The right script would be: sed -i -e '/^ifconfig_eth/ s/^/#/' \ -e '/^iface_eth/ s/^/#/' \ /etc/conf.d/net Reproducible: Always Steps to Reproduce: 1. create a livecd 2. start it with nodhcp Actual Results: See that the network doesn't come up properly and the /etc/conf.d/net file is corrupted Expected Results: Commented out those lines but not given syntax errors.
I've fixed this in CVS already, and it will be in the next livecd-tools. As a temporary workaround, you can add a proper sed into your fsscript to "fix" autoconfig, as I am waiting on fixing a couple other bugs before releasing livecd-tools 1.0.21
OK, I can tweak it. What I actually want to do is figure out how to turn off the "nodhcp" option altogether: I don't want any of this tweaking to happen in the first place :-). Cheers!
Well, autoconfig is nothing but tweaking and poking around... You can always livecd/rcdel autoconfig in yoru spec file and livecd/rcadd the specific parts of it you want enabled... nobody said you had to make your CD the same way that we do... ;]
I've had a new livecd-tools out for a little while now, so I'm going to mark this as FIXED.