I am playing around with the "udpcast image generator" and I need to
store the next-server address in the filesystem for later processing.
I am using kernel-udpcast_2.6.30-rc5_all.deb and
This is what my dhcp.script looks like:
=== snip ===
[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
[ -n "$subnet" ] && NETMASK="netmask $subnet"
case "$1" in
/sbin/ifconfig $interface 0.0.0.0
/sbin/ifconfig $interface $ip $BROADCAST $NETMASK
/sbin/echo $siaddr > /etc/server.ip
=== snap ===
This works as expected when generating cd-images.
If I generate a initrd and boot via PXE, the file /etc/server.ip never
I tried to create the file in many places (/tmp, /sbin, etc.) but it
Is there something important that I am missing?
I thought that there is no difference between a cd-image and a plain
initrd (besides syslinux/pxelinux and the kernel being separate).
Additionally FYI, when using the latest kernel and mkimage I get some
I use VirtualBox 2.2 for testing purposes and both cd-image and initrd
crash the VM when trying to write to the filesystem from within
Any help/suggestion is much appreciated.
Thanks in advance.