Netplan: Difference between revisions
From DWIKI
mNo edit summary |
m (→FAQ) |
||
Line 34: | Line 34: | ||
- to: default | - to: default | ||
via: 192.168.10.1 | via: 192.168.10.1 | ||
==Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others.== | |||
chmopd 0600 /etc/netplan/00-installer-config.yaml |
Revision as of 12:42, 6 August 2024
Ubuntu network configuration new style
Links
HOWTO
FAQ
An error occurred: 'NetplanApply' object has no attribute 'state
That's because netplan is broken, try:
netplan try --state /etc/netplan
`gateway6` has been deprecated, use default routes instead
Use:
routes: - to: default via: fe80::1
Error in network definition: expected mapping (check indentation)
It seems to prefer list of addresses in square brackets
`gateway4` has been deprecated, use default routes instead.
Try
routes: - to: default via: 192.168.10.1
Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others.
chmopd 0600 /etc/netplan/00-installer-config.yaml