Retrieving hostname
Verfasst: 28 Feb 2011, 17:33
Hi all,
I would like to execute a script on my opsi server at the end (or during) a windows installation using netboot. For this, I need to get the hostname of the machine being installed in a variable. Could you tell me the best and easier way to retrieve this value ? From which python script can I export this variable ?
Thanks in advance for your answers.
Regards,
MC
I would like to execute a script on my opsi server at the end (or during) a windows installation using netboot. For this, I need to get the hostname of the machine being installed in a variable. Could you tell me the best and easier way to retrieve this value ? From which python script can I export this variable ?
Thanks in advance for your answers.
Regards,
MC