Advertisement
iarmin

Xenserver - hvmize

May 25th, 2011
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. # XenServer hvmize
  2. #
  3. #!/bin/sh
  4.  
  5. [ -z "$1" ] && exit 1
  6.  
  7. uuid=`xe vm-list name-label="$1" params=uuid --minimal`
  8.  
  9. [ -z "${uuid}" ] && exit 1
  10.  
  11. xe vm-param-set uuid=${uuid} HVM-boot-policy='BIOS order' HVM-boot-params:order=dc PV-bootloader= PV-args=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement