Skip to content

network_state should not change IPv6 state when not configured #614

@myllynen

Description

@myllynen

Using this definition against RHEL 8.8 systems which use NM and ifcfg files

    network_state:
      dns-resolver:
        config:
          server:
            - 1.1.1.1
      interfaces:
        - name: net0
          type: ethernet
          state: up
          ipv4:
            enabled: true
            auto-dns: false
            dhcp: true

changes IPV6_INIT=no to IPV6_INIT=yes on IPv4-only systems. On RHEL 9.2 systems which use NM and nmconnection files this does not happen, which is expected. The workaround is of course obvious but nevertheless network_state should not change anything outside of the provided configuration definition. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions