change the default client configuration for netboot product

Antworten
djm79
Beiträge: 65
Registriert: 04 Feb 2013, 14:03

change the default client configuration for netboot product

Beitrag von djm79 »

I have noticed that the default for all the win7 and 2008 client setting in the configed are defaulting to de settings for the language and keyboard settings. Can the default for this be configured to default to another language? I ask because I can see our helpdesk team forgetting to change this before rolling out an OS and the language setting and keyboard be wrong and they would send it to us to figure out.
Benutzeravatar
SisterOfMercy
Beiträge: 1523
Registriert: 22 Jun 2012, 19:18

Re: change the default client configuration for netboot prod

Beitrag von SisterOfMercy »

Yes, this can be done. I think the correct way is this:

Code: Alles auswählen

opsi-admin -d method productPropertyState_getObjects [] '{"productId":"winxppro-x64","objectId":"opsi.anarchy.lan"}'\ > /opt/pcbin/install/property_config.json
Of course you would have to change the productId.
After modifying the property_config.json file you run this command:

Code: Alles auswählen

opsi-admin -d method productPropertyState_updateObjects < /opt/pcbin/install/property_config.json
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
tobias
Beiträge: 1291
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: change the default client configuration for netboot prod

Beitrag von tobias »

another way is to install the package with the following command:

opsi-package-manager -i -p ask yourpackage.opsi

after that you can set your default value for all product properties :)
I think this way is easier as via opsi-admin
djm79
Beiträge: 65
Registriert: 04 Feb 2013, 14:03

Re: change the default client configuration for netboot prod

Beitrag von djm79 »

Ok the second command fails with a takes exactly 2 arguments only one given.
Benutzeravatar
SisterOfMercy
Beiträge: 1523
Registriert: 22 Jun 2012, 19:18

Re: change the default client configuration for netboot prod

Beitrag von SisterOfMercy »

I also had problems with that command, so I used the opsi-admin method.

But if you use the command like this:

Code: Alles auswählen

opsi-package-manager -p ask -i /var/lib/opsi/repository/win7_4.0.2-3.opsi
Then it works!
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
djm79
Beiträge: 65
Registriert: 04 Feb 2013, 14:03

Re: change the default client configuration for netboot prod

Beitrag von djm79 »

Sweet thanks that was the ticket.
Antworten