Open ktwalrus opened 8 years ago
+1
Would be useful if user-data feature is implemented in openstack docker-machine driver.
Note that CentOS firewalls the port 2376 by default, so an extra "provision" step is necessary - "user-data" support would greatly help.
I know this is an old issue but I see a openstack-user-data-file
flag in the code now so this can probably be closed (or converted to an issue to fix the documentation because I don't see the flag there).
Ref: https://github.com/docker/machine/commit/b2e3d81537270e63b3cb49246cda97c62d3deacb
I opened a PR over in the docs repo to get this documented.
The openstack driver doesn't seem to have a way for me to specify a user-data config file when creating new machines.
I peeked at the driver source and docker-machine uses Rackspace's Gopher Cloud API which does support a userData config option. But, the docker-machine openstack driver does not support passing this option on to Rackspace's driver.
I do see that userdata is supported in the DigitalOcean driver, but I am using OVH Public Cloud for my docker machines and need this option to specify a cloud-config.yaml file to configure CoreOS based machines in the OVH Public Cloud.