Static netplan yaml error messages

strong textI miss the old /etc/network/interfaces means to configure IP addresses. My file is located in /etc/netplan/ The configuration is: network version: 2 renderer:networkd ethernets: ens33: dhcp4: no dhcp6: no addresses: – 172.16.10.254/24 gateway4: 172.16.10.1 nameservers: addresses: [8.8.8.8,8.8.4.4] The error message is, “Invalid YAML at /etc/netplan/50-cloud-init.yaml line 12 column 15:mapping values are not allowed in…

Details