1. 호스트

# POOL
xe pool-param-set uuid=$(xe pool-list --minimal) other-config:auto_poweron=true

# 단독
xe host-param-set uuid=$(xe host-list --minimal) other-config:auto_poweron=true

2. VM

for i in $(seq -w 1 84); do
    VM_UUID=$(xe vm-list name-label=${i} --minimal)
    if [ -n "$VM_UUID" ]; then
        xe vm-param-set uuid=${VM_UUID} other-config:auto_poweron=true
    else
        echo "VM ${i} not found"
    fi
done

 

  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기