Skip to content

network_state should not change IPv6 state when not configured #614

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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