Displaying 1 result from an estimated 1 matches for "net0_uuid".
Did you mean:
get_uuid
2013 Mar 08
1
Bug#702369: latest install report
...re is the script I used to build the VM:
#!/bin/bash
set -e
NEW_HOST=wheezytest2
DISK_SIZE=5GiB
TMPL="Debian Wheezy 7.0 (64-bit)"
DEB_MIRROR=http://ftp.ch.debian.org/debian
NET0=xenbr1
SR_NAME="testSR0"
TMPL_UUID=$(xe template-list name-label="${TMPL}" --minimal)
NET0_UUID=$(xe network-list bridge=${NET0} --minimal)
SR_UUID=$(xe sr-list name-label=${SR_NAME} --minimal)
VM_UUID=$(xe vm-install template=$TMPL_UUID new-name-label="${NEW_HOST}")
xe vm-param-set uuid=${VM_UUID}
other-config:install-repository=${DEB_MIRROR}
xe vif-create vm-uuid=${VM_UUID} net...