=== shardy is now known as shardy_lunch | ||
=== shardy_lunch is now known as shardy | ||
boxrick | Hello! I have a simple question. Will cloud init provide me with a mechanism to configure a network within an LXD container before it comes online? | 15:48 |
---|---|---|
rharper | boxrick: yes; lxd already supports this; lemme find some docs | 16:52 |
rharper | boxrick: https://askubuntu.com/questions/617865/is-there-a-way-to-configure-lxd-containers-with-cloud-config-at-provision-time ; in there the "lxc config set CONTAINER user.network-config - < CONTAINER.network-config.yaml" is what you want | 16:55 |
rharper | the v1 config format is here: http://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v1.html#network-config-v1 | 16:55 |
boxrick | Cheers for that, I was having some problems. But its an image problem as opposed to a cloud init problem. But that will definately help along the way. | 16:56 |
blackboxsw | heh | 23:03 |
blackboxsw | usage: cloud-init [-h] [--version] [--file FILES] [--debug] [--force] | 23:04 |
blackboxsw | {init,modules,query,single,dhclient-hook} ... | 23:04 |
blackboxsw | cloud-init: error: unrecognized arguments: --force | 23:04 |
blackboxsw | it seems our help doesn't match up w/ allowed args in all cases | 23:04 |
blackboxsw | ahh --force needs to be before the subcommand | 23:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!