diff options
Diffstat (limited to 'roles/linux_laptop/templates/etc/sysconfig/network-scripts')
-rw-r--r-- | roles/linux_laptop/templates/etc/sysconfig/network-scripts/ifcfg-ssid.j2 | 32 | ||||
-rw-r--r-- | roles/linux_laptop/templates/etc/sysconfig/network-scripts/keys-ssid.j2 | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/roles/linux_laptop/templates/etc/sysconfig/network-scripts/ifcfg-ssid.j2 b/roles/linux_laptop/templates/etc/sysconfig/network-scripts/ifcfg-ssid.j2 new file mode 100644 index 0000000..3737699 --- /dev/null +++ b/roles/linux_laptop/templates/etc/sysconfig/network-scripts/ifcfg-ssid.j2 @@ -0,0 +1,32 @@ +ESSID={{ linux_laptop_wifi_ssid }} +MODE=Managed +KEY_MGMT=WPA-EAP +MAC_ADDRESS_RANDOMIZATION=never +TYPE=Wireless +IEEE_8021X_EAP_METHODS=TLS +IEEE_8021X_IDENTITY=anonymous +IEEE_8021X_CA_CERT={{ linux_laptop_wifi_certificate_ca_path }} +IEEE_8021X_PRIVATE_KEY={{ linux_laptop_wifi_certificate_key_path }} +IEEE_8021X_CLIENT_CERT={{ linux_laptop_wifi_certificate_path }} +PROXY_METHOD=none +BROWSER_ONLY=no +BOOTPROTO=none +IPADDR={{ linux_laptop_wifi_ip }} +PREFIX={{ linux_laptop_wifi_prefix }} +GATEWAY={{ linux_laptop_wifi_gateway }} +{% for server in linux_laptop_wifi_dns_servers %} +DNS{{ loop.index }}={{ server }} +{% endfor %} +DOMAIN={{ linux_laptop_wifi_domain }} +DEFROUTE=yes +IPV4_FAILURE_FATAL=yes +IPV6INIT=yes +IPV6_AUTOCONF=yes +IPV6_DEFROUTE=yes +IPV6_FAILURE_FATAL=no +IPV6_ADDR_GEN_MODE=stable-privacy +NAME={{ linux_laptop_wifi_ssid }} +UUID={{ linux_laptop_wifi_networkmanager_uuid.stdout }} +DEVICE={{ linux_laptop_wlan_device }} +ONBOOT=yes +MACADDR=permanent diff --git a/roles/linux_laptop/templates/etc/sysconfig/network-scripts/keys-ssid.j2 b/roles/linux_laptop/templates/etc/sysconfig/network-scripts/keys-ssid.j2 new file mode 100644 index 0000000..31c61a6 --- /dev/null +++ b/roles/linux_laptop/templates/etc/sysconfig/network-scripts/keys-ssid.j2 @@ -0,0 +1 @@ +IEEE_8021X_PRIVATE_KEY_PASSWORD={{ linux_laptop_wifi_certificate_key_passphrase }} |