SUSE-SLES-12 - First Boot - Network setup

Hi,
**
Problem Statement : **Unable to setup network during first-boot while setting up SLES-12-SP3.

**Default Network Manager In use : **Network/Wicked

Background:
We have created a virtual appliance (OVF format) using KIWI tool based on SLES-12-SP3. Following is the default first boot configuration.

<?xml version=“1.0”?>
<productDefines xmlns=“http://www.suse.com/1.0/yast2ns” xmlns:config=“http://www.suse.com/1.0/configns”>

&lt;textdomain&gt;firstboot&lt;/textdomain&gt;


&lt;globals&gt;


    &lt;!-- The default value of "Automatic Login" checkbox --&gt;
    &lt;enable_autologin config:type="boolean"&gt;false&lt;/enable_autologin&gt;


    &lt;automatic_configuration config:type="list"&gt;
        &lt;!--
        Configure printer (needs configured network for net-detection)
        --&gt;
        &lt;ac_step&gt;
            &lt;text_id&gt;ac_label_2&lt;/text_id&gt;
            &lt;icon&gt;yast-hwinfo&lt;/icon&gt;
            &lt;type&gt;proposals&lt;/type&gt;
            &lt;ac_items config:type="list"&gt;
                &lt;ac_item&gt;printer&lt;/ac_item&gt;
            &lt;/ac_items&gt;
        &lt;/ac_step&gt;
    &lt;/automatic_configuration&gt;
&lt;/globals&gt;
&lt;proposals config:type="list"&gt;
    &lt;proposal&gt;
        &lt;name&gt;firstboot_hardware&lt;/name&gt;
        &lt;mode&gt;installation&lt;/mode&gt;
        &lt;stage&gt;firstboot&lt;/stage&gt;
        &lt;label&gt;Hardware Configuration&lt;/label&gt;
        &lt;proposal_modules config:type="list"&gt;
            &lt;proposal_module&gt;printer&lt;/proposal_module&gt;
        &lt;/proposal_modules&gt;
    &lt;/proposal&gt;
&lt;/proposals&gt;
&lt;workflows  config:type="list"&gt;
    &lt;workflow&gt;
        &lt;defaults&gt;
            &lt;enable_back&gt;yes&lt;/enable_back&gt;
            &lt;enable_next&gt;yes&lt;/enable_next&gt;
            &lt;archs&gt;all&lt;/archs&gt;
        &lt;/defaults&gt;
        &lt;stage&gt;firstboot&lt;/stage&gt;
        &lt;label&gt;Configuration&lt;/label&gt;
        &lt;mode&gt;installation&lt;/mode&gt;
        &lt;modules  config:type="list"&gt;
            &lt;module&gt;
                &lt;label&gt;Network Autosetup&lt;/label&gt;
                &lt;name&gt;firstboot_setup_dhcp&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Keyboard Layout&lt;/label&gt;
                &lt;enabled config:type="boolean"&gt;false&lt;/enabled&gt;
                &lt;name&gt;firstboot_keyboard&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Welcome&lt;/label&gt;
                &lt;name&gt;firstboot_welcome&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;License Agreement&lt;/label&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
                &lt;name&gt;firstboot_license_novell&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Host Name&lt;/label&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
                &lt;name&gt;firstboot_hostname&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Network&lt;/label&gt;
                &lt;!-- this step only restarts service 'network' --&gt;
                &lt;name&gt;firstboot_network_write&lt;/name&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
                &lt;name&gt;firstboot_ssh&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Network&lt;/label&gt;
                &lt;name&gt;inst_lan&lt;/name&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
            &lt;/module&gt;
             &lt;module&gt;
                &lt;label&gt;Automatic Configuration&lt;/label&gt;
                &lt;name&gt;inst_automatic_configuration&lt;/name&gt;
                &lt;enabled config:type="boolean"&gt;false&lt;/enabled&gt;
             &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Time and Date&lt;/label&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
                &lt;name&gt;firstboot_timezone&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;NTP Client&lt;/label&gt;
                &lt;enabled config:type="boolean"&gt;false&lt;/enabled&gt;
                &lt;name&gt;firstboot_ntp&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Desktop&lt;/label&gt;
                &lt;enabled config:type="boolean"&gt;false&lt;/enabled&gt;
                &lt;name&gt;firstboot_desktop&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Network&lt;/label&gt;
                &lt;name&gt;inst_lan&lt;/name&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Root Password&lt;/label&gt;
                &lt;enabled config:type="boolean"&gt;true&lt;/enabled&gt;
                &lt;name&gt;firstboot_root&lt;/name&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Hardware&lt;/label&gt;
                &lt;name&gt;inst_proposal&lt;/name&gt;
                &lt;enabled config:type="boolean"&gt;false&lt;/enabled&gt;
                &lt;proposal&gt;firstboot_hardware&lt;/proposal&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Finish Setup&lt;/label&gt;
                &lt;name&gt;firstboot_write&lt;/name&gt;
                &lt;enable_back&gt;no&lt;/enable_back&gt;
                &lt;enable_next&gt;no&lt;/enable_next&gt;
            &lt;/module&gt;
            &lt;module&gt;
                &lt;label&gt;Finish Setup&lt;/label&gt;
                &lt;name&gt;inst_congratulate&lt;/name&gt;
            &lt;/module&gt;


        &lt;/modules&gt;
    &lt;/workflow&gt;
&lt;/workflows&gt;
&lt;texts&gt;
    &lt;!--
    Labels used during Automatic Configuration: use "text_id" from "ac_step"
    --&gt;
    &lt;ac_label_1&gt;&lt;label&gt;Configuring network...&lt;/label&gt;&lt;/ac_label_1&gt;
    &lt;ac_label_2&gt;&lt;label&gt;Configuring hardware...&lt;/label&gt;&lt;/ac_label_2&gt;
&lt;/texts&gt;

</productDefines>

So, as part of the configured first-boot workflow, we are able to navigate across all the modules/screens. But the network setup screen doesn’t show up.

However after first-boot, by logging into the VM, and re-opening the Yast, we are able to navigate and setup the network.

So our doubt is why we are not able to setup the Network during the First-boot despite the network module is enabled in the first-boot workflow.

Regards,
Naresh.

You’ve posted in openSUSE forums which is a completely different product.

You should find an appropriate SLES forum at the following location

https://forums.opensuse.org/forumdisplay.php/790-SUSE-Linux-Forums

TSU

Wrong Forums: Please follow the link in Tsu’s message.

This thread is closed.