/srv/irclogs.ubuntu.com/2017/02/23/#cloud-init.txt

=== msg is now known as Guest24425
=== mgagne is now known as Guest80717
pasasap_Hi. How to run script once at boot time? Put that script to /var/lib/cloud/scripts/per-instance ?10:55
=== rangerpbzzzz is now known as rangerpb
smoserpasasap_, that should work,  yes.15:19
smoserit will have to exist in the image15:19
pasasap_I havent tested that, now I decided to use user-data.15:21
pasasap_https://thepasteb.in/p/r0hwE8gDVqDCK It is part of log. I have prepared ubuntu 16.04 image with cloud-init, openssh. Sometimes it cannot configure interfaces, sometimes it works. I dont know, maybe I have sth wrong configured.15:24
smoserpasasap_, can you get /var/log/cloud-init.log from inside ?15:28
smoserand /etc/network/interfaces* ?15:28
pasasap_I have deleted all files from /etc/network/interfaces.d/ with guestfish. In interfaces is only 'lo' interface.15:31
=== gaughen_ is now known as gaughen
pasasap_"Max retries exceeded with url" Hmm, maybe should I wait ;'|15:37
pasasap_In Ubuntu should NetworkManager be enabled?15:48
smoserno15:48
smosercan you get that log file ?15:48
smoserpaste it ?15:49
pasasap_I have waited and now it launch properly. So there should be too much http requests to metadata server.15:50
smoserwell, i suspect something was not quite right, and if you can paste that log it'd be helpful.15:52
smoserjust run15:52
smoserpastebinit /var/log/cloud-init.log15:52
pasasap_http://paste.ubuntu.com/24053660/15:54
pasasap_Hmm, so there can be sth wrong ;'|15:55
rcjsmoser: just to check, with the cloud-init ds-identify changes we're limited to a single datasource specified via /var/lib/cloud/cloud.cfg.d/##-name.cfg, right?16:28
rcjAsking because I was just about to propose something on a partner call that would require support for 2 different data sources16:29
rcjOVF and NoCloud16:30
smoserrcj, if there is more than one, then it will filter out non-present sources.16:34
rcjsmoser: great, so it will still work.  That's fantastic.  Thanks.16:34
smoserrcj, i dont know whaty ou mean.16:35
smoserif ds-identify runs and does not see a source (NoCloud) then it will remove it from the list.16:35
pasasap_Huh, I got official ubuntu xenial server image and this error still appears.17:05
=== Guest80717 is now known as mgagne
smoserpasasap_, where are you running this ?17:30
smoserneed some more info17:30
=== msg is now known as Guest5443
=== msg is now known as Guest14186
=== rangerpb is now known as rangerpbzzzz
=== msg is now known as Guest41479

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