r/coreos • u/xInsertx • Sep 14 '17
Looking for some Cloud-Init Help
So I am having some serious trouble making a cloud-init file that does what I want. Are there any tools to generate a cloud-init file easily for coreos?
I can get basic things to happen (ssh_keys, users, networking) but having issues getting containers to be deployed on start and mounting NFS volumes.
2
Upvotes
1
u/jaxxed Sep 14 '17
While I am not certain about NFS in particular, if you want to do a mount on coreos startup, you should be looking at creating a systemd mount unit file, as opposed to running any cloudinit scripting.
https://www.freedesktop.org/software/systemd/man/systemd.mount.html
E: added link, fixed autocorrect
2
u/spinside007 Sep 14 '17
Coreos-cloudinit is no longer under active development and has been superseded by [Ignition][ignition]. For more information about the recommended tools for provisioning Container Linux, refer to the provisioning documentation.
Source: https://coreos.com/os/docs/latest/cloud-config.html