Good day all,
Apologies if this has been asked before but multiple web searches have not provided an answer. I have a need to be able to quickly spawn a linked clone with a specific VMID. When the clone boots into windows for the first time I want a powershell script to query its VMID and then use the VMID # as an append to a template.
E.G
Linked clone VMID 1020 Hostname: clone0000.contoso.com
Start
Load into Windows
Powershell: VMID 1020 -> Rename host: clone1020.contoso.com -> join AD.
I have had no luck being able to make it VMID aware which I think is for security reasons. QEMU Guest Agent?
My next idea was to statically assign a MAC address on the linked clone when spawned. That MAC will correlate with a DNS name that CAN be queried. But that adds something else I have not had luck figuring out. Reserve a range of MAC in proxmox so it never assigns them to other NIC.
I appreciate any advice, or guidance you can offer. I would be happy with links even. I may not need a full explanation but can possibly live with at least an example to work from.
Thank you so much,
Scott
Apologies if this has been asked before but multiple web searches have not provided an answer. I have a need to be able to quickly spawn a linked clone with a specific VMID. When the clone boots into windows for the first time I want a powershell script to query its VMID and then use the VMID # as an append to a template.
E.G
Linked clone VMID 1020 Hostname: clone0000.contoso.com
Start
Load into Windows
Powershell: VMID 1020 -> Rename host: clone1020.contoso.com -> join AD.
I have had no luck being able to make it VMID aware which I think is for security reasons. QEMU Guest Agent?
My next idea was to statically assign a MAC address on the linked clone when spawned. That MAC will correlate with a DNS name that CAN be queried. But that adds something else I have not had luck figuring out. Reserve a range of MAC in proxmox so it never assigns them to other NIC.
I appreciate any advice, or guidance you can offer. I would be happy with links even. I may not need a full explanation but can possibly live with at least an example to work from.
Thank you so much,
Scott