Skip to content

Commit a5284e1

Browse files
authored
Merge pull request #88490 from dfitzmau/OCPBUGS-49995
OCPBUGS#49995: Added state:down important notice to No IP address
2 parents 4a9cd7b + 6bcdeb7 commit a5284e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/virt-example-nmstate-IP-management.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ The following snippet ensures that the interface has no IP address:
5151
# ...
5252
----
5353

54+
[IMPORTANT]
55+
====
56+
Always set the `state` parameter to `up` when you set both the `ipv4.enabled` and the `ipv6.enabled` parameter to `false` to disable an interface. If you set `state: down` with this configuration, the interface receives a DHCP IP address because of automatic DHCP assignment.
57+
====
58+
5459
[id="virt-example-nmstate-IP-management-dhcp_{context}"]
5560
== Dynamic host configuration
5661

0 commit comments

Comments
 (0)