- уточнение кода для ipv4/ipv6
This commit is contained in:
135
2025-01-13 01:21:45 +03:00
parent c281a13b8e
commit fb2741023d
4 changed files with 106 additions and 47 deletions

View File

@@ -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') }}"