mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 04:10:46 +00:00
Merge pull request #985 from caomengmeng/update_vm_ubuntu_install_cases
update ubuntu diskless installation cases
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user