Hi guys,
I'm testing a server which has a secondary iSCSI drive (not boot drive). This drive was added using the installer.
All works well.
Networking (eth0) and iSCSI is starting using initramfs (all setup automatically by the ubuntu installer) I had an issue as this was pulling a DHCP address. It took me a while to work out how to set a fixed IP.
I've managed to set the fixed ip, broadcast, netmask and domain in /etc/initramfs-tools/initramfs.conf
I found this page which described how to do it. I've added the following:
DEVICE=
IP=192.168.70.8::192.168.70.254:255.255.255.0:mydomain.local:eth0
All goes well but I haven't set the DNS servers. When it boots I can see dns1: 0.0.0.0 dns2: 0.0.0.0
I can't find any documentation on how to include the dns servers in this line. Does anyone here have an idea?
Currently I have set the DNS servers in /etc/network/interfaces which is all working fine but I'd be interested to know how to set them in initramfs.
Thanks