Change default langauge from DE to NL

Antworten
mmullenders
Beiträge: 6
Registriert: 27 Dez 2012, 22:26
Wohnort: Roermond, The Netherlands

Change default langauge from DE to NL

Beitrag von mmullenders »

Hi there,
I'm a newbie in OPSI, but after handling the Getting-Started-Guide I was able to succesfully roll out a Win7_32b image on a new client.
But I'm not able to find out where I can change the default de-DE settings into nl-NL. All the clients have a dutch OS but the localization is Germany with DE-keyboardlayout.
Please can someone give me a hint?
Kind regard, Maurice
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Change default langauge from DE to NL

Beitrag von d.oertel »

Hi,

have look here:
http://download.uib.de/opsi_stable/doc/ ... etboot-nt6
according to:
http://msdn.microsoft.com/en-us/goglobal/bb895996
Dutch keyboard layout is:

Code: Alles auswählen

0413:00000413
You have to add it at the property editor at the propery 'system keyboard layout'

Does this help ?

regards
d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


mmullenders
Beiträge: 6
Registriert: 27 Dez 2012, 22:26
Wohnort: Roermond, The Netherlands

Re: Change default langauge from DE to NL

Beitrag von mmullenders »

Hi Detlef Oertel,

thanks for your respons.
When I try to change the setting through the config editor I do get these errors for all the netboot products.

Fri Dec 28 14:12:52 CET 2012 -- key not valid: boot_partition_letter
Fri Dec 28 14:12:52 CET 2012 -- key not valid: system_language
Fri Dec 28 14:12:52 CET 2012 -- key not valid: winpenetworkmode
Fri Dec 28 14:12:52 CET 2012 -- key not valid: windows_partition_label
Fri Dec 28 14:12:52 CET 2012 -- key not valid: winpe_uilanguage
Fri Dec 28 14:12:52 CET 2012 -- key not valid: imagename
Fri Dec 28 14:12:52 CET 2012 -- key not valid: productkey
Fri Dec 28 14:12:52 CET 2012 -- key not valid: data_partition_letter
Fri Dec 28 14:12:52 CET 2012 -- key not valid: boot_partition_size
Fri Dec 28 14:12:52 CET 2012 -- key not valid: boot_partition_label
Fri Dec 28 14:12:52 CET 2012 -- key not valid: additional_drivers
Fri Dec 28 14:12:52 CET 2012 -- key not valid: system_keyboard_layout
Fri Dec 28 14:12:52 CET 2012 -- key not valid: winpe_inputlocale
Fri Dec 28 14:12:52 CET 2012 -- key not valid: orgname
Fri Dec 28 14:12:52 CET 2012 -- key not valid: windows_partition_size
Fri Dec 28 14:12:52 CET 2012 -- key not valid: askbeforeinst
Fri Dec 28 14:12:52 CET 2012 -- key not valid: data_partition_label
Fri Dec 28 14:12:52 CET 2012 -- key not valid: blockalignment
Fri Dec 28 14:12:52 CET 2012 -- key not valid: system_timezone
Fri Dec 28 14:12:52 CET 2012 -- key not valid: fullname


I didn't use the OPSIDEMO vm but manually installed OPSI with Centos6.3 as platform.

Further I tried changing the setting with these commands:

cd /home/opsiproducts/
/home/opsiproducts# opsi-package-manager -x /var/lib/opsi/repository/win7_4.0.2-1.opsi

Edit /home/opsiproducts/win7/OPSI/control and add the apropriate values for dutch in
- winpe_uilanguage
- winpe_uilanguage_fallback
- winpe_inputlocale
- system_language
- system_keyboard_layout

Repackage and deploy with your defaults:

#cd /home/opsiproducts/win7
#opsi-makeproductfile
#cp win7_4.0.2-1.opsi /var/lib/opsi/repository/win7_4.0.2-1.opsi
#opsi-setup --set-rights

But still all the deployed clients (deployed with the client-boot-cd) have a Dutch Win7 OS but with German localization and German keyboardlayout. English as second localization and keyboardlayout.

i've checked the product updater:
[root@DIS-OPSI4-V win7]# opsi-product-updater -i -vv
Zsync command found: /usr/bin/zsync
Reading config file '/etc/opsi/opsi-product-updater.conf'
Getting installed products
Getting info for local packages in '/var/lib/opsi/repository'
Getting package infos from repository 'http://download.uib.de'
config-win-base_4.0.1-1.opsi - installation not required: installed version '4.0.1-1' of product 'config-win-base' is up to date
hwaudit_4.0.5-1.opsi - installation not required: installed version '4.0.5-1' of product 'hwaudit' is up to date
javavm_1.6.0.33-2.opsi - installation not required: installed version '1.6.0.33-2' of product 'javavm' is up to date
jedit_4.5.2-2.opsi - installation not required: installed version '4.5.2-2' of product 'jedit' is up to date
opsi-adminutils_4.0.2.1-2.opsi - installation not required: installed version '4.0.2.1-2' of product 'opsi-adminutils' is up to date
opsi-client-agent_4.0.2.1-2.opsi - installation not required: installed version '4.0.2.1-2' of product 'opsi-client-agent' is up to date
opsi-template-with-admin_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template-with-admin' is up to date
opsi-template_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template' is up to date
opsi-winst-test_4.11.3-3.opsi - installation not required: installed version '4.11.3-3' of product 'opsi-winst-test' is up to date
opsi-winst_4.11.3.3-1.opsi - installation not required: installed version '4.11.3.3-1' of product 'opsi-winst' is up to date
shutdownwanted_1.0-4.opsi - installation not required: installed version '1.0-4' of product 'shutdownwanted' is up to date
swaudit_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'swaudit' is up to date
hwinvent_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'hwinvent' is up to date
memtest86_3.5b-1.opsi - installation not required: installed version '3.5b-1' of product 'memtest86' is up to date
ntfs-restore-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-restore-image' is up to date
ntfs-write-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-write-image' is up to date
win2k_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2k' is up to date
win7-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win7-x64' is up to date
win7_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win7' is up to date
win2003-r2-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2003-r2-x64' is up to date
win2003_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2003' is up to date
win2008-r2_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2008-r2' is up to date
win2008-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2008-x64' is up to date
win2008_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2008' is up to date
winvista-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winvista-x64' is up to date
winvista_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winvista' is up to date
winxppro-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winxppro-x64' is up to date
winxppro_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winxppro' is up to date
wipedisk_1.0-2.opsi - installation not required: installed version '1.0-2' of product 'wipedisk' is up to date

So what am I overlooking? Did I do something wrong?

Kind regards, Maurice
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Change default langauge from DE to NL

Beitrag von d.oertel »

Hi,

sounds strange. Product properties should be always changeble by the configed.
So let us see what is is strange in detail.
Do you see all properties in the output from:

Code: Alles auswählen

opsi-admin -d method productProperty_getIdents | grep "win7;"
What is the output from:

Code: Alles auswählen

opsi-admin -d method productProperty_getObjects '[]' '{"productId":"win7","propertyId":"system_keyboard_layout"}'
What is your backend configuration:

Code: Alles auswählen

 tail -15 /etc/opsi/backendManager/dispatch.conf
or

Code: Alles auswählen

 opsi-admin -d method dispatcher_getConfig
regards

d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


mmullenders
Beiträge: 6
Registriert: 27 Dez 2012, 22:26
Wohnort: Roermond, The Netherlands

Re: Change default langauge from DE to NL

Beitrag von mmullenders »

Hi Detlef,

[root@DIS-OPSI4-V win7]# opsi-admin -d method productProperty_getIdents | grep "win7;"
"win7;4.0.2;1;winpenetworkmode",
"win7;4.0.2;1;winpe_uilanguage",
"win7;4.0.2;1;winpe_uilanguage_fallback",
"win7;4.0.2;1;winpe_inputlocale",
"win7;4.0.2;1;askbeforeinst",
"win7;4.0.2;1;productkey",
"win7;4.0.2;1;fullname",
"win7;4.0.2;1;orgname",
"win7;4.0.2;1;additional_drivers",
"win7;4.0.2;1;boot_partition_size",
"win7;4.0.2;1;boot_partition_label",
"win7;4.0.2;1;boot_partition_letter",
"win7;4.0.2;1;windows_partition_size",
"win7;4.0.2;1;data_partition_label",
"win7;4.0.2;1;data_partition_letter",
"win7;4.0.2;1;windows_partition_label",
"win7;4.0.2;1;system_language",
"win7;4.0.2;1;system_keyboard_layout",
"win7;4.0.2;1;system_timezone",
"win7;4.0.2;1;imagename",
"win7;4.0.2;1;blockalignment",

[root@DIS-OPSI4-V win7]# opsi-admin -d method productProperty_getObjects '[]' '{"productId":"win7","propertyId":"system_keyboard_layout"}'
[
{
"ident" : "win7;4.0.2;1;system_keyboard_layout",
"description" : "System Keyboard layout / Sélectionnez la disposition du clavier / http://msdn.microsoft.com/en-us/goglobal/bb895996",
"editable" : true,
"defaultValues" :
[
"0407:00000407"
],
"multiValue" : false,
"productVersion" : "4.0.2",
"possibleValues" :
[
"0407:00000407",
"0409:00000409",
"040a:0000040a",
"040c:0000040c",
"0410:00000410",
"0807:00000807",
"080c:0000080c",
"0810:00000410",
"0813:00000813",
"0c07:00000407",
"100c:0000100c"
],
"packageVersion" : "1",
"type" : "UnicodeProductProperty",
"propertyId" : "system_keyboard_layout",
"productId" : "win7"
}
]

[root@DIS-OPSI4-V win7]# tail -15 /etc/opsi/backendManager/dispatch.conf
# host_.* : ldap, opsipxeconfd, dhcpd
# productOnClient_.* : ldap, opsipxeconfd
# configState_.* : ldap, opsipxeconfd
# license.* : mysql
# softwareLicense.* : mysql
# audit.* : mysql
# .* : ldap
#

backend_.* : file, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file

[root@DIS-OPSI4-V win7]# opsi-admin -d method dispatcher_getConfig
[
[
"backend_.*",
[
"file",
"opsipxeconfd"
]
],
[
"host_.*",
[
"file",
"opsipxeconfd"
]
],
[
"productOnClient_.*",
[
"file",
"opsipxeconfd"
]
],
[
"configState_.*",
[
"file",
"opsipxeconfd"
]
],
[
".*",
[
"file"
]
]
]
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Change default langauge from DE to NL

Beitrag von d.oertel »

Hi,

seems to be all ok at the server.
Did you try to restart your opsi-configed ?
opsi-configed version ?
Java Vendor / Version ?

regards
d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


mmullenders
Beiträge: 6
Registriert: 27 Dez 2012, 22:26
Wohnort: Roermond, The Netherlands

Re: Change default langauge from DE to NL

Beitrag von mmullenders »

Hi Detlef,

As newbie I've failed, please disregard my writing about:
When I try to change the setting through the config editor I do get these errors for all the netboot products.
Fri Dec 28 14:12:52 CET 2012 -- key not valid: boot_partition_letter
Fri Dec 28 14:12:52 CET 2012 -- key not valid: system_language


This error is because I didn't select a client before looking at the Netboot products client configuration.
I'm so sorry, feeling a bit stupid.

But still there's an issue with assigning the default localization and keyboardlayout.
Though changed in the "configuration for client" (I had to add manually nl-NL only nl-BE is listed) as you described, it has not been applied after a reboot of the client.
I would also rather see that the server default client values, which is now de-DE, changed in nl-NL. Is that possible?
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Change default langauge from DE to NL

Beitrag von d.oertel »

Hi,

the best way to change the server defaults for product properties is (right now) to reinstall the product with the
'-p ask' option:

Code: Alles auswählen

opsi-package-manager -p ask -i /var/lib/opsi/repository/win7_4.0.2-3.opsi 
This will ask you for every property for your default.

Every changes done at these properties have only effect while the OS installation because these values
go into the answer file for the unattend installation (unattend.xml).
To change these values and reboot the client will not help anyway (even if it is always a good idea to reboot windows ...)

regards

d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten