Skip to content

Instantly share code, notes, and snippets.

Created November 5, 2014 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/32db4bb3734c423d54c0 to your computer and use it in GitHub Desktop.
Save anonymous/32db4bb3734c423d54c0 to your computer and use it in GitHub Desktop.
Run highstate then reboot machine after new VM is created with salt-cloud.
highstate_run:
local.state.highstate:
- tgt: {{ data['name'] }}
system.reboot:
module.run:
- watch:
- local: highstate_run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment