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
Retrieving hostname
- j.schneider
- uib-Team
- Beiträge: 1819
- Registriert: 29 Mai 2008, 15:14
Re: Retrieving hostname
Hi,
I do not really understand what you are trying to do.
In a netboot-python-script you can use the variable "clientId".
I do not really understand what you are trying to do.
In a netboot-python-script you can use the variable "clientId".
Re: Retrieving hostname
Hi,
I would like to get this variable on server side, and I want to execute a script on my opsi server containing the name of the machine being installed. So I can't use a netboot script or any script executing on client side.
Regards,
MC
I would like to get this variable on server side, and I want to execute a script on my opsi server containing the name of the machine being installed. So I can't use a netboot script or any script executing on client side.
Regards,
MC