initramfs-tools uses dhcp even with a static ip address in comand line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
live-initramfs (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
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.
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.
Changed in initramfs-tools (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in casper (Ubuntu): | |
importance: | Undecided → Medium |
Your report concerns a file in live-initramfs, although at first glance casper looks as though it may suffer from a similar problem.