[BUG] waagent missing ipv6.addr-gen-mode eui64 from nmcli command
- Dominant language
- Python
- Stars
- 581
- Forks
- 397
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 9
Description
Running **sudo waagent -deprovision+user** and I got this error:
_ERROR MainThread Command: [nmcli device modify eth0 ipv4.dhcp-hostname localhost.localdomain ipv6.dhcp-hostname localhost.localdomain], return code: [6], result: [Error: Reapplying connection to device 'eth0' (/org/freedesktop/NetworkManager/Devices/2) failed: The settings specified are invalid: ipv6.addr-gen-mode: property is invalid_
The fix is to do the following:
Run
$ _nmcli device modify eth0 ipv4.dhcp-hostname localhost.localdomain ipv6.dhcp-hostname localhost.localdomain **ipv6.addr-gen-mode eui64**_
before
running _sudo waagent deprovision_
Distro: **RHEL8.7**
_WALinuxAgent version: 2.7.0.6 running on redhat 8.7
Python: 3.6.8_
**Additional context**
N/A
**Log file attached**
N/A
Contributor guide
Assessment
This issue has not been assessed yet.