Unable to configure network [Static IP, Gateway, DNS] during virtual appliance first boot process.

This document (000019611) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12 SP4


When installing a server image and configuring yast2-firstboot for final configuration, it gets to the network, and the following warning is observed:
Warning: Network is currently handled by NetworkManager or completely disabled. YaST is unable to configure some options.
The following were logged in /var/log/YaST2/y2log:
2020-04-14 11:40:55 <1> linux(7971) [Ruby] yast2/systemctl.rb:32 systemctl show network.service  --property=Id  --property=MainPID  --property=Description  --property=LoadState  --property=ActiveState  --property=SubState  --property=UnitFileState  --property=FragmentPath
2020-04-14 11:40:55 <3> linux(7971) [bash] ShellCommand.cc(shellcommand):78 sh: warning: setlocale: LC_ALL: cannot change locale (POSIX.UTF-8)
2020-04-14 11:40:55 <3> linux(7971) [Ruby] yast2/systemd_unit.rb:208 Failed to get properties for unit 'network' ; Command ` LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show network.service  --property=Id  --property=MainPID  --property=Description  --property=LoadState  --property=ActiveState  --property=SubState  --property=UnitFileState  --property=FragmentPath ` returned error: sh: warning: setlocale: LC_ALL: cannot change locale (POSIX.UTF-8)

 POSIX.UTF-8 is not a usable locale:
$ env -i LANG=POSIX /usr/bin/locale >/dev/null
$ env -i LANG=POSIX.UTF-8 /usr/bin/locale >/dev/null
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory

In one instance an image was created with a KIWI image tool. The KIWI configuration file did not contain a locale configuration setting, but used the default.


Define the correct locale setting.
1. Edit /etc/sysconfig/language
2. Add RC_LANG="en_US.UTF-8"
3. Save and exit.

In the case of the KIWI config.xml configuration file, define the locale. For example:


When no locale setting was specifically configured, a default locale was incorrectly assigned POSIX.UTF-8, which is invalid.


Reported to Engineering


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019611
  • Creation Date: 23-Apr-2020
  • Modified Date:27-Apr-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center