[Bug 391622] Re: initramfs-tools uses dhcp even with a static ip address in comand line
Stéphane Graber
stgraber at stgraber.org
Tue Oct 2 21:29:23 UTC 2012
casper uses initramfs-tools' function for that which parses ip= properly
(at least from reading the code). casper never directly checks
$INTERFACE.
** Changed in: casper (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/391622
Title:
initramfs-tools uses dhcp even with a static ip address in comand line
Status in “casper” package in Ubuntu:
Fix Released
Status in “live-initramfs” package in Ubuntu:
Triaged
Bug description:
Binary package hint: initramfs-tools
My initramfs-tools version: 0.92bubuntu29
Noticed this on a jaunty based clonezilla-live cd, booted with a cmdline like:
boot=live union=aufs netboot="nfs"
ip=192.168.171.121::192.168.171.254:255.255.255.0::eth0
nfsroot=192.168.137.1:/live quickreboot noprompt noprompt nolocales
What happens is that no matter the ip= parameter, the network ends up
being "configured" by dhcp so booting just hangs when there's no dhcp
offer.
The simple fix for me is attached. Changing this and rebuilding the
initrd worked for me. Someone with more experience with initramfs-
tools should look into how to make this work for all people (many of
them do use dhcp), since this might break things for them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/391622/+subscriptions
More information about the foundations-bugs
mailing list