micro-config-drive
micro-config-drive copied to clipboard
runcmd directive concatenates commands instead of executing them separately
Cloud config file:
#cloud-config
---
preserve_hostname: true
runcmd:
- ls
- ps
- whoami
System logs indicate that those commands are joined into one string:
ucd[626]: [4.282477] lib: Executing: /bin/sh -c "ls ps whoami "
Those commands should be executed separately.
This is due to the yaml parser. I do not know if this is actually fixable.