[03:10] <htaccess> hello i am getting some very consistent errors when using cloud init on xenial boxes
[03:11] <htaccess> i built 15 xenial boxes  that use #cloud-config to set the timezone, local and install one package
[03:12] <htaccess> 4 have failed to install the package
[03:12] <htaccess> becuase: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
[03:15] <htaccess> relevant /var/log/cloud-init-output.log output : https://paste.ubuntu.com/25624581/
[03:16] <htaccess> as it say its pretty easy to trigger, i am building 5 servers each time, every time i have done it at least one box has the issue
[03:18] <htaccess> s/local/locale/
[11:49] <dpb1> htaccess: we had a race with automatic updates a while back, could be back.  Could you please file a bug?
[15:41] <kszarlej> How in NoCloud datasource in network-config set the default route?
[15:42] <kszarlej> It is only possible to set the route as cidr, and I need 'default via'...
[15:47] <rharper> kszarlej: you want to add a gateway: value to your subnet configuration, http://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v1.html#network-config-v1
[15:57] <kszarlej> rharper: but I have two subnets.
[15:58] <kszarlej> So the routes are created like: 10.10.1.0/24 dev eth0 proto kernel scope link src 10.10.1.120
[15:59] <kszarlej> for each subnet (that one was 10.10.1.0/24). But what about a default(default via 192.168.1.10 dev eth0)
[16:06] <kszarlej> the gateway adds default route for configured subnet. but when my instance wants to access WAN not LAN it needs default gateway
[16:20] <kszarlej> ok so the proper way should be adding a static route with destination of '0.0.0.0/0'
[16:32] <kszarlej> ye but it ofcourse doesnt work :D eh.. cloud-init
[17:08] <kszarlej> ok - adding route directly to subnet routes: works. Working example: http://paste.ubuntu.com/25628125/