Adrian Vladu ce74218315 Implement cloud-config runcmd
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
2020-01-14 17:05:01 +02:00
..
2018-09-05 20:41:59 +03:00
2020-01-14 17:05:01 +02:00
2020-01-14 17:05:01 +02:00
2020-01-14 17:05:01 +02:00
2012-12-01 23:50:15 +02:00
2020-01-14 17:05:01 +02:00
2019-10-30 17:04:58 +02:00
2019-10-30 17:04:58 +02:00
2019-08-19 16:35:56 +03:00
2017-08-18 09:01:34 +00:00