[SOLVED] Ubuntu netplan error in network definition

Experiencing ‘netplan apply’ command not working issues ? ubuntu netplan error in network definition? ┬áread more.

[email protected]:~# netplan apply
error in network definition /etc/netplan/50-cloud-init.yaml line 8 column 12: unknown key version / address

error in network definition /etc/netplan/50-cloud-init.yaml line 11 column 24: expected maping

Ubuntu netplan error in network definition

You have to check the spacing of each configuration lines. the space before each line matters. it should be in uniform matter. ( see the screenshot of configuration file which i’m using/working on my Ubuntu 18.04 LTS server.

[email protected]:~# vi /etc/netplan/50-cloud-init.yamlset static ip ubuntu 18.04Now follow the method above, then try ‘netplan apply’ command.

Ubuntu documentation

One Response

  1. Karthik 09/04/2019

Leave a Reply

Are you a human being ? *