Skip to content

Commit 4d90a43

Browse files
committed
Adding DHCP:flase to static IP snippet
1 parent 4b1aae3 commit 4d90a43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The following snippet statically configures an IP address on the Ethernet interf
2525
type: ethernet
2626
state: up
2727
ipv4:
28+
dhcp: false
2829
address:
2930
- ip: 192.168.122.250 <1>
3031
prefix-length: 24
@@ -132,6 +133,7 @@ The following snippet configures a static route and a static IP on interface `et
132133
type: ethernet
133134
state: up
134135
ipv4:
136+
dhcp: false
135137
address:
136138
- ip: 192.0.2.251 <1>
137139
prefix-length: 24

0 commit comments

Comments
 (0)