2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 12:20:40 +00:00

Merge pull request #985 from caomengmeng/update_vm_ubuntu_install_cases

update ubuntu diskless installation cases
This commit is contained in:
tingtli
2016-04-28 10:53:09 +08:00

View File

@ -3,7 +3,7 @@ os:Linux
cmd:copycds $$ISO
check:rc==0
cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then chdef -t node -o $$CN vmstorage=dir:///var/lib/libvirt/images/ && rmvm $$CN -f && mkvm $$CN ; fi
cmd:if [ "__GETNODEATTR($$CN,arch)__" = "x86_64" ]; then chdef -t node -o $$CN vmstorage=dir:///var/lib/libvirt/images/ && rmvm $$CN -f && mkvm $$CN ; fi
cmd:makedns -n
check:rc==0
cmd:makedhcp -n