<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I'm trying to get a Ubuntu 13.10 guest to work, which uses a official Cloud-image (<a href="http://cloud-images.ubuntu.com/saucy/" target="_blank">http://cloud-images.ubuntu.com/saucy/</a>)
as disk. However, the VM is not integrating into the virtual network.
I've double checked the virtual network settings with CentOS-VMs, the
network works correctly.<br>
<br></div>I've found out that CloudInit writes a correct <span style="font-family:courier new,monospace">/etc/network/interfaces</span>
file with a static address, however, the machine somehow ignores this
file and keeps sending DHCP requests without getting an answer (which is
intended since we don't use DHCP in the VM's network).<br>
<br><span style="font-family:courier new,monospace"># virt-cat one-42 /etc/network/interfaces<br>auto lo<br>iface lo inet loopback<br><br>auto eth0<br>iface eth0 inet static<br> address 192.168.129.4<br> network 192.168.128.0<br>
netmask 255.255.254.0<br> gateway 192.168.128.1</span><br><br><span style="font-family:courier new,monospace"># virt-cat one-42 /var/log/syslog | tail -6<br>Jan 28 12:42:44 ubuntu dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21 (xid=0x1080a577)<br>
Jan 28 12:43:05 ubuntu dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 (xid=0x1080a577)<br>Jan 28 12:43:18 ubuntu dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 (xid=0x1080a577)<br>
Jan 28 12:43:38 ubuntu dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1 (xid=0x1080a577)<br>Jan 28 12:43:39 ubuntu dhclient: No DHCPOFFERS received.<br>Jan 28 12:43:39 ubuntu dhclient: No working leases in persistent database - sleeping.</span><br>
<br></div>Does anybody know how the VM template needs to be configured in order to get it working?<br><br></div>Thanks in advance<div class=""><div id=":2l5" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/b/455/u/0/images/cleardot.gif">Wilma<br>
<br></div></div></div>