LXC vms are not very useful here


I’ve spent the pass hour trying to figure out, how am I suppose to login or set root password?

lxc exec centos7-devvm bash                                                                                                                                                                                                                                                                                                                            
Error: Failed to connect to lxd-agent

And I was under the impression that centos/7/cloud has cloud-init baked in, no?

         Starting LXD - agent...
[  OK  ] Stopped LXD - agent.
         Starting LXD - agent...

Nothing appears afterwards. So what do I do next? Create my own VM template ? For now, I’ve abandon this in favor of vagrant.

Looks like a systemd bug in centos7… It appears rather confused by WorkingDirectory=-/run/lxd_agent

I suspect, one would have to wait for the next image rebuild, I can test this tomorrow.

I’ve triggered an image rebuild already, but yeah can take 2-3 hours before it’s readily available.