Xen PV/HVM
CFGS=/home/xen/vm*/;for cfg in $CFGS;do xm create $cfg*.cfg;done
OpenVZ
SSH Terminal:
CFGS=`vzlist -S -Ho ctid`;for cfg in $CFGS;do vzctl start $cfg;done
KVM
SSH Terminal:
CFGS=/home/kvm/kvm*/;for cfg in $CFGS;do virsh create $cfg*.xml;done
评论前必须登录!
注册