UbuntuIRC / 2021 /01 /23 /#cloud-init.txt
niansa
Initial commit
4aa5fce
raw
history blame
910 Bytes
[03:46] <bashfulrobot> https://www.irccloud.com/pastebin/Rj8Dq3vd/
[03:46] <bashfulrobot> oops. Lets format that properly.
[03:47] <bashfulrobot> Hi there. I have built out a small script to deploy the ubuntu cloud image. I have a `user-data`, `network-config` & `meta-data` file. Now when I build an image to hold my cloud-init files using `sudo cloud-localds -v --network-config=network-config ${IMAGE_FLDR}/${HOST}-seed.qcow2 user-data meta-data` the resulting VM cannot be logged into over ssh. Now if I drop the `network-config` by changing the command to `sudo
[03:47] <bashfulrobot> cloud-localds -v ${IMAGE_FLDR}/${HOST}-seed.qcow2 user-data meta-data network-config` IL can then login without issue. The network file contains:
[03:47] <bashfulrobot> https://www.irccloud.com/pastebin/2DQzsRvy/
[03:47] <bashfulrobot> Any deas why?
[03:47] <bashfulrobot> ideas*
=== falcojr9 is now known as falcojr