Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runcmd directive concatenates commands instead of executing them separately #48

Open
jakub-d opened this issue Dec 3, 2019 · 1 comment
Labels

Comments

@jakub-d
Copy link

jakub-d commented Dec 3, 2019

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.

@ahkok ahkok added the bug label Dec 3, 2019
@ahkok
Copy link
Contributor

ahkok commented Dec 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants