I'll also do some poking around here to see if I know of a way to execute an external script through the provisioning process. ![]() ![]() If you wanted to get more fancy you could possibly have a small database where the internal vm script (possibly python,java or something else with DB support) connects to the database, signals that it's ready by adding itself to a queue, then your other script can work on multiple VMs as they become ready. You of course could do something more sophisticated, but that is an example of a quick solution. You could possibly have the script watching a share, the VM's internal script drops a small file with the parameters then the script does the update on each VM one by one when it sees a file dropped on that share. The external script then takes over shuts down the VM, changes the mac address, then boots it back up. Maybe you could put a batch script in the VM that makes a call to your external script passing in the hostname of the VM. It sounds like it's just not the one you want to have. ![]() SMSRSystem.Name, SMSRSystem.MACAddresses. The WQL query that you should use for this is below: select distinct. I am making the assumption that when your VMs first come up, you have an active IP address. ( 1) If you would like to search for a machine based upon its MAC address, you can use a WQL query to do this.
0 Comments
Leave a Reply. |