Another network config attempt - 4
This commit is contained in:
parent
2d886a4567
commit
5aa8dc36b7
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ ssh_pwauth: True
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- {data.public_key}
|
- {data.public_key}
|
||||||
bootcmd:
|
bootcmd:
|
||||||
- "nmcli con modify "System eth0" ipv4.address {data.cidr_1} ipv4.method static ipv4.gateway {data.gateway} ipv4.dns {data.dns}"
|
- "nmcli con modify 'System eth0' ipv4.address {data.cidr_1} ipv4.method static ipv4.gateway {data.gateway} ipv4.dns {data.dns}"
|
||||||
- "nmcli con modify "Wired connection 1" ipv4.address {data.cidr_2} ipv4.method static ipv4.gateway {data.gateway} ipv4.dns {data.dns}"
|
- "nmcli con modify 'Wired connection 1' ipv4.address {data.cidr_2} ipv4.method static ipv4.gateway {data.gateway} ipv4.dns {data.dns}"
|
||||||
- "nmcli networking off"
|
- "nmcli networking off"
|
||||||
- "nmcli networking on"
|
- "nmcli networking on"
|
||||||
# runcmd:
|
# runcmd:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue