/srv/irclogs.ubuntu.com/2017/09/27/#cloud-init.txt

htaccesshello i am getting some very consistent errors when using cloud init on xenial boxes03:10
htaccessi built 15 xenial boxes  that use #cloud-config to set the timezone, local and install one package03:11
htaccess4 have failed to install the package03:12
htaccessbecuase: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)03:12
htaccessrelevant /var/log/cloud-init-output.log output : https://paste.ubuntu.com/25624581/03:15
htaccessas 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 issue03:16
htaccesss/local/locale/03:18
=== Raboo_ is now known as Raboo
=== holser__ is now known as holser_
dpb1htaccess: we had a race with automatic updates a while back, could be back.  Could you please file a bug?11:49
=== smatzek_ is now known as smatzek
=== gin is now known as ginsul
=== gin is now known as bla_
=== bla_ is now known as ginsul
=== smatzek_ is now known as smatzek
kszarlejHow in NoCloud datasource in network-config set the default route?15:41
kszarlejIt is only possible to set the route as cidr, and I need 'default via'...15:42
rharperkszarlej: 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-v115:47
kszarlejrharper: but I have two subnets.15:57
kszarlejSo the routes are created like: 10.10.1.0/24 dev eth0 proto kernel scope link src 10.10.1.12015:58
kszarlejfor each subnet (that one was 10.10.1.0/24). But what about a default(default via 192.168.1.10 dev eth0)15:59
kszarlejthe gateway adds default route for configured subnet. but when my instance wants to access WAN not LAN it needs default gateway16:06
kszarlejok so the proper way should be adding a static route with destination of '0.0.0.0/0'16:20
kszarlejye but it ofcourse doesnt work :D eh.. cloud-init16:32
=== smatzek_ is now known as smatzek
kszarlejok - adding route directly to subnet routes: works. Working example: http://paste.ubuntu.com/25628125/17:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!