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

virt-customize builder will not respect the order of the commands #708

Open
gbenhaim opened this issue Apr 16, 2018 · 0 comments
Open

virt-customize builder will not respect the order of the commands #708

gbenhaim opened this issue Apr 16, 2018 · 0 comments

Comments

@gbenhaim
Copy link
Member

domains:
  vm01:
    artifacts: [/var/log]
    bootstrap: false
    disks:
    - build:
      - virt-customize:
          ssh-inject: ''
          copy: dummy_file:/root
          touch: [/root/file1, /root/file2]
          selinux-relabel: ''

Since the commands are specified as a dict, the order of execution isn't deterministic.
A good solution will be to allow specifying a multiline string that will be passed to the --commands-from-file flag of virt-customize.

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

No branches or pull requests

1 participant