micro-config-drive icon indicating copy to clipboard operation
micro-config-drive copied to clipboard

runcmd directive concatenates commands instead of executing them separately

Open jakub-d opened this issue 5 years ago • 1 comments

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.

jakub-d avatar Dec 03 '19 11:12 jakub-d

This is due to the yaml parser. I do not know if this is actually fixable.

ahkok avatar Dec 03 '19 16:12 ahkok