Public bug reported:

I'm trying to set up a network bridge for KVM but I keep getting a the
error,"Error in network definition //etc/netplan/50-cloud-init.yaml line
5 column 0: unknown key bridges."  The funny thing is line 5 column 0 is
network, not bridges, so I'm not sure why it is saying bridges.  Here is
the .yaml I'm trying:

# This file is generated from information provided by
# the datasource.  Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
  version: 2
  renderer: networkd
  ethernets:
    enp2s0:
      dhcp4: no
bridges:
    br0:
      interfaces: [enp2s0]
      dhcp4: no
      addresses: [192.168.1.3/24]
      gateway4: 192.168.1.1
      nameservers:
        addresses: [192.168.1.1]

Description:    Ubuntu 18.04 LTS
Release:        18.04
netplan:
  Installed: (none)
  Candidate: 1.10.1-5build1
  Version table:
     1.10.1-5build1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

** Affects: nplan (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773071

Title:
  Netplan unknown key bridges

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1773071/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to