2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 11:10:24 +00:00
This commit is contained in:
caomengmeng
2016-04-27 03:15:17 -04:00
parent 750e82f4f2
commit d22e39520c

View File

@@ -4,7 +4,7 @@ stop:yes
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