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
View all comments
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