32
42
# It creates a persistent VSM VM if it was not created already
33
43
# Returns 1 if it was not able to create it
38
48
if [ `/usr/bin/virsh list --all | grep -c ${VSM_NAME}` -eq 1 ]; then
43
54
if [ ! -f ${VSM_VM_DIR}/${VSM_VM_XML} ]; then
47
58
/usr/bin/virsh define ${VSM_VM_DIR}/${VSM_VM_XML}