
If the userdata is of type cloud-config, the runcmd entry can contain multiple entries with commands that will be executed, in the order of their definition. The commands can be given as a string or as an array of strings, the first item being the binary to be executed and the rest being the parameters of that binary. The commands will be aggregated and written into one single shell file, in the order of their definition. On Windows, the file will be executed by the native Windows shell cmd.exe. Example userdata file: runcmd: - 'dir C:\\' - ['echo', '1'] Fixes: https://github.com/cloudbase/cloudbase-init/issues/27 Change-Id: Ie307e08f8c4108c7bf9108543cc90b6a7fa2e7ae
Portable Multi-Cloud Initialization Service
- Author: Cloudbase Solutions Srl
- Contact: info@cloudbasesolutions.com
- Home page: http://www.cloudbase.it/cloud-init-windows/
- Documentation: http://cloudbase-init.readthedocs.org/en/latest/
- Source: https://github.com/openstack/cloudbase-init
- License: Apache 2.0
Downloads
Stable
- (64bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_Stable_x64.msi
- (32bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_Stable_x86.msi
Beta
- (64bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_x64.msi
- (32bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_x86.msi
Got a question?
Description
Languages
Python
100%