xen 虚拟机全部启动脚本
7.2测试通过
[root@xenserver ~]# cat /etc/xensource-inventory
PRIMARY_DISK=’/dev/disk/by-id/scsi-366c92bf0001709411ef2ea9409401dae’
DOM0_VCPUS=’12’
PRODUCT_VERSION=’7.2.0′
#!/bin/bash xe vm-list | grep "name-label" | grep -v "Control domain" | awk '{$1="";$2="";$3="";print$0}' > vm.list while read line do echo $line xe vm-start vm="$line" done < vm.list
原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/3837.html