Created
March 11, 2019 17:30
-
-
Save fluffy/ff23a868071781c90e5cd6a99ff2736f to your computer and use it in GitHub Desktop.
Broken netplan.io config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is a file that does not work | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp0s31f6: | |
auth: | |
key-management: 802.1x | |
password: hash:some-stuff-here | |
method: peap | |
identity: ghewett | |
dhcp4: false | |
addresses: | |
- 1.2.3.4 | |
gateway4: 5.6.7.8 | |
nameservers: | |
search: [cisco.com, otherdomain] | |
addresses: | |
- 1.1.1.1 | |
- 2.2.2.2 | |
(IP's and credentials changed ) | |
This gives us | |
DEBUG:command generate: running ['/lib/netplan/generate'] | |
** (generate:19354): DEBUG: 09:23:41.614: Processing input file /etc/netplan/01-netcfg.yaml.. | |
** (generate:19354): DEBUG: 09:23:41.614: starting new processing pass | |
Error in network definition /etc/netplan/01-netcfg.yaml line 7 column 6: unknown key auth | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment