Comment 6 for bug 1801781

Revision history for this message
James Osborne (jjo93sa) wrote :

Adding some information from my testing today with 18.04.3 server in a KVM-based VM. In my kickstart file, I have the following line:

network --bootproto=static --device=52:54:00:14:32:fb --ip=10.10.20.251 --netmask=255.255.255.0 --gateway=10.10.20.1 --nameserver=10.10.20.1,1.1.1.1 --hostname=test6

Upon inspection of the VM, all the network configuration looks good (except as below), and the hostname is set as well. I have network connectivity.

However, the nameservers are not set in the netplan YAML file. If I manually add them and apply the configuration, DNS works. I've also checked /etc/resolv.conf and the requested configured name servers are not present there either, so I'm not sure what kickstart is doing with the parameters.

In summary, all network configuration apart from name servers seems to be made successfully, but perhaps I'm doing something incorrect?