Comment 2 for bug 1705306

Revision history for this message
Joshua Powers (powersj) wrote :

Hi Jon! Thanks for taking the time to file this bug.

I tried to reproduce this using a lxc of arch and was unable to. Can you give me 1) the version of cloud-init you are using, 2) your cloud-config, 3) as well as your cloud-init log? Below is what I tried:

$ lxc launch images:archlinux arch
$ lxc exec arch bash
$ pacman -S cloud-init
# updated 05_logging.cfg per https://bugs.archlinux.org/task/53036
# - [ *log_base, *log_file ]
with
- [ *log_base ]
# And my user-data:
#cloud-config
hostname: foobar
$ cloud-init --file user-data single --name=set_hostname --frequency=always
$ hostname
foobar