Seite 1 von 1

change the default client configuration for netboot product

Verfasst: 06 Feb 2013, 19:30
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.

Re: change the default client configuration for netboot prod

Verfasst: 06 Feb 2013, 20:15
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

Re: change the default client configuration for netboot prod

Verfasst: 06 Feb 2013, 20:25
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

Re: change the default client configuration for netboot prod

Verfasst: 06 Feb 2013, 20:31
von djm79
Ok the second command fails with a takes exactly 2 arguments only one given.

Re: change the default client configuration for netboot prod

Verfasst: 06 Feb 2013, 20:54
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!

Re: change the default client configuration for netboot prod

Verfasst: 06 Feb 2013, 21:19
von djm79
Sweet thanks that was the ticket.