Advertisement
iarmin

Xenserver - pvize

May 25th, 2011
668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. # XenServer - pvize
  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=  PV-bootloader=pygrub PV-args="-- console=hvc0 xencons=tty"
  12. xe vm-param-remove uuid=${uuid} param-name=HVM-boot-params param-key=order
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement