← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1800854] [NEW] BOTOPROTO handling between RHEL/Centos/Fedora and SUSE distros is different

 

Public bug reported:

Looks like we need to figure out how to do distribution specific
handling in sysconfig.py for the file content anyway.

For a static network configuration on openSUSE and SLES BOTOPROTO must
be set to "static", but based on the comment in sysconfig.py

                # grep BOOTPROTO sysconfig.txt -A2 | head -3
                # BOOTPROTO=none|bootp|dhcp
                # 'bootp' or 'dhcp' cause a DHCP client
                # to run on the device. Any other
                # value causes any static configuration
                # in the file to be applied.
                # ==> the following should not be set to 'static'
                # but should remain 'none'
                # if iface_cfg['BOOTPROTO'] == 'none':
                #    iface_cfg['BOOTPROTO'] = 'static'

This might cause trouble on RHEL/Centos/Fedora

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1800854

Title:
  BOTOPROTO handling between RHEL/Centos/Fedora and SUSE distros is
  different

Status in cloud-init:
  New

Bug description:
  Looks like we need to figure out how to do distribution specific
  handling in sysconfig.py for the file content anyway.

  For a static network configuration on openSUSE and SLES BOTOPROTO must
  be set to "static", but based on the comment in sysconfig.py

                  # grep BOOTPROTO sysconfig.txt -A2 | head -3
                  # BOOTPROTO=none|bootp|dhcp
                  # 'bootp' or 'dhcp' cause a DHCP client
                  # to run on the device. Any other
                  # value causes any static configuration
                  # in the file to be applied.
                  # ==> the following should not be set to 'static'
                  # but should remain 'none'
                  # if iface_cfg['BOOTPROTO'] == 'none':
                  #    iface_cfg['BOOTPROTO'] = 'static'

  This might cause trouble on RHEL/Centos/Fedora

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1800854/+subscriptions


Follow ups