Skip to content

vmware_guest: Add typev6 to 'networks' customization check#2316

Open
okopop wants to merge 1 commit into
ansible-collections:mainfrom
okopop:fix_typev6_custom
Open

vmware_guest: Add typev6 to 'networks' customization check#2316
okopop wants to merge 1 commit into
ansible-collections:mainfrom
okopop:fix_typev6_custom

Conversation

@okopop

@okopop okopop commented Feb 14, 2025

Copy link
Copy Markdown
SUMMARY

The behaviour now is that this specific if-statement always hits because typev6 is missing from it and it's always added by default when you define "networks". This gives unexpected behaviour.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

vmware_guest

ADDITIONAL INFORMATION

E.g.

networks:
  - name: "PORTGROUP_NAME_XYZ"

From debug log:

"networks": [
  {
     "name": "PORTGROUP_NAME_XYZ",
     "type": "dhcp",
     "typev6": "dhcp"
  }

SUMMARY
The behaviour now is that this specific if-statement always hits because typev6 is missing from it and it's always added by default when you define "networks". This gives unexpected behaviour.

ISSUE TYPE
- Bugfix Pull Request

COMPONENT NAME
vmware_guest

ADDITIONAL INFORMATION
E.g.
```
networks:
  - name: "PORTGROUP_NAME_XYZ"
```

From debug log:
```
"networks": [
  {
     "name": "PORTGROUP_NAME_XYZ",
     "type": "dhcp",
     "typev6": "dhcp"
  }
```
@softwarefactory-project-zuul

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant