You think it's easy, just
xe sr-create name-label=Local type=iso device-config:legacy_mode=true device-config:location=/vm/iso content-type=iso
....then copy the iso onto the server with scp, then...
xe sr-scan uuid=<SR UUID>
xe template-list
xe vm-install new-name-label=<VM_NAME> template=<TEMPLATE NAME>
xe cd-list
xe vm-cd-ad vm=<VM_NAME> cd-name=<NAME_ISO.iso> device=3
and finally
xe vm-start vm=<VM-NAME>
Hahaha. Have a look at this then.Shorty comes the ultimate XenServer CLI VM creation howto.
Nincsenek megjegyzések:
Megjegyzés küldése