Skip to content

Instantly share code, notes, and snippets.

@jrisch
Created November 30, 2017 10:05
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 jrisch/d6ed395ad71b8d13f18544af35ffae62 to your computer and use it in GitHub Desktop.
Save jrisch/d6ed395ad71b8d13f18544af35ffae62 to your computer and use it in GitHub Desktop.
- name: Set memory
command: xe vm-memory-limits-set uuid={{ vmuuid.stdout }} dynamic-min="{{ memory }}" dynamic-max="{{ memory }}" static-max="{{ memory }}" static-min="{{ memory }}"
- name: Attach VM to {{ network_name }}
command: xe vif-create vm-uuid={{ vmuuid.stdout }} network-uuid={{ networkuuid.stdout }} mac=random device=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment