WIP
- уточнение кода для ipv4/ipv6
This commit is contained in:
@@ -1,2 +1,25 @@
|
||||
---
|
||||
# vars file for network-manager
|
||||
#network:
|
||||
# - con_name: lo
|
||||
# ifname: lo
|
||||
# type: loopback
|
||||
# ip4: "127.0.0.1/8,169.254.0.0/32"
|
||||
# dns4: 77.88.8.8
|
||||
# method4: manual
|
||||
# method6: auto
|
||||
# - con_name: ens160
|
||||
# ifname: ens160
|
||||
# type: ethernet
|
||||
# ip4: 192.168.0.2/24
|
||||
# gw4: 192.168.0.1
|
||||
# method4: manual
|
||||
# method6: disabled
|
||||
|
||||
template_connection_params:
|
||||
ip4: "{{ connection.ip4 | default('null') }}"
|
||||
gw4: "{{ connection.gw4 | default('null') }}"
|
||||
dns4: "{{ connection.dns4 | default('null') }}"
|
||||
routes4: "{{ connection.routes4 | default('null') }}"
|
||||
method4: "{{ connection.method4 | default('disabled') }}"
|
||||
method6: "{{ connection.method6 | default('disabled') }}"
|
||||
Reference in New Issue
Block a user