[ovirt-users] Sysprep and Ovirt Python SDK
Robert Parker
robert_parker at volusion.com
Tue Jan 19 16:42:02 UTC 2016
I understand how to set an OS hostname in CloudInit for a Linux VM using the Python SDK like below, but how would I do the same thing for setting an OS hostname in a Windows VM using Sysprep? I can't find any examples of this anywhere.
[...]
action = params.Action(
vm=params.VM(
initialization=params.Initialization(
cloud_init=params.CloudInit(
host=params.Host(address="rheltest001.example.com")
)
)
vm.start( action )
[...]
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160119/873ac008/attachment-0001.html>
More information about the Users
mailing list