Huawei / DockerMachineDriver4OTC

Apache License 2.0
10 stars 18 forks source link

Add support for user-data #32

Open zyga opened 3 years ago

zyga commented 3 years ago

The OTC driver has some traces of a person attempting to support cloud-init user data but this feature was not really available.

Add support for a new option --otc-user-data-file= which accepts any valid cloud-init script of yaml.

This was tested against the production OTC API.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@huawei.com