Skip to content

Commit 6bcdeb7

Browse files
committed
OCPBUGS-49995: Added state:down important notice to No IP address
1 parent 6649910 commit 6bcdeb7

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)