=== 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 | ||
smoser | pasasap_, that should work, yes. | 15:19 |
smoser | it will have to exist in the image | 15: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 |
smoser | pasasap_, can you get /var/log/cloud-init.log from inside ? | 15:28 |
smoser | and /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 |
smoser | no | 15:48 |
smoser | can you get that log file ? | 15:48 |
smoser | paste 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 |
smoser | well, i suspect something was not quite right, and if you can paste that log it'd be helpful. | 15:52 |
smoser | just run | 15:52 |
smoser | pastebinit /var/log/cloud-init.log | 15:52 |
pasasap_ | http://paste.ubuntu.com/24053660/ | 15:54 |
pasasap_ | Hmm, so there can be sth wrong ;'| | 15:55 |
rcj | smoser: 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 |
rcj | Asking because I was just about to propose something on a partner call that would require support for 2 different data sources | 16:29 |
rcj | OVF and NoCloud | 16:30 |
smoser | rcj, if there is more than one, then it will filter out non-present sources. | 16:34 |
rcj | smoser: great, so it will still work. That's fantastic. Thanks. | 16:34 |
smoser | rcj, i dont know whaty ou mean. | 16:35 |
smoser | if 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 | ||
smoser | pasasap_, where are you running this ? | 17:30 |
smoser | need some more info | 17: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!