Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 962220

Summary: PRD35 - [RFE] allow to set locale, language and keyboard settings for sysprep operation per vm
Product: Red Hat Enterprise Virtualization Manager Reporter: Pratik Pravin Bandarkar <pbandark>
Component: RFEsAssignee: Shahar Havivi <shavivi>
Status: CLOSED ERRATA QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adahms, iheim, lpeer, mavital, michal.skrivanek, pnovotny, rbalakri, shavivi, sherold, sputhenp, ylavi
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.5.0Flags: sherold: Triaged+
Hardware: All   
OS: Linux   
Whiteboard: virt
Fixed In Version: vt2.2 Doc Type: Enhancement
Doc Text:
This feature adds the ability to configure the system, user, and machine locale for a virtual machine using sysprep in the New Virtual Machine and Edit Virtual machine window.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 17:53:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1120943, 1142923, 1150334, 1150335, 1156165    

Comment 1 Pavel Novotny 2014-06-20 12:02:29 UTC
FailedQA in ovirt-engine-3.5.0-0.0.master.20140605145557.git3ddd2de.el6.noarch (alpha2).

Substitution of the $UILanguage$ variable with the GUI's UI Language value doesn't work (due to a case-sensitive typo in SysprepHandler.java - $UiLanguage$ vs $UILanguage$).

@Shahar,
also variable for system setup UI language is replaced with GUI's Input Locale value, i.e.,

  sysPrepContent = replace(sysPrepContent, "$SetupUiLanguageUiLanguage$", inputLocale);

Is this correct, shouldn't there be used the UI Language value?

Comment 2 Shahar Havivi 2014-06-22 07:41:24 UTC
> Is this correct, shouldn't there be used the UI Language value?
Correct,
I will send a patch to fix it.

Comment 4 meital avital 2014-10-27 07:52:07 UTC
Verified - https://tcms.engineering.redhat.com/run/163770/

Comment 5 Yaniv Lavi 2015-01-19 15:37:20 UTC
Original request was:

3. What is the nature and description of the request?
customer want to set locale, language and keyboard settings for sysprep operation per vm. They wish to be able to modify the languages defined within the following section of sysprep.xml per vm:

...
   <SetupUILanguage>
      <UILanguage>en-US</UILanguage>
   </SetupUILanguage>
   <InputLocale>en-US</InputLocale>
   <UILanguage>en-US</UILanguage>
   <SystemLocale>en-US</SystemLocale>
   <UserLocale>en-US</UserLocale>
...



4. Why does the customer need this? (List the business requirements here)
This feature is needed because all VMs will NOT be connected to an AD and so the default values for locale language and keyboard should be settable in the sysprep stage.

5. How would the customer like to achieve this? (List the functional requirements here)
These settings should be available in the GUI like the timezone settings currently are.

Comment 7 errata-xmlrpc 2015-02-11 17:53:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0158.html