Console issue on core snap with bridge


#1

It looks like core snap is not able to display IP address when using a bridge.

Console logs:

Ubuntu Core 16 on (ttyS0)

You cannot log in until the system has an IP address.
(Is there supposed to be a DHCP server running on your network?)

ip a s:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc pfifo_fast master br0 state UP group default qlen 1000
    link/ether 00:13:50:50:13:bf brd ff:ff:ff:ff:ff:ff
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 76:c9:dd:3a:1f:68 brd ff:ff:ff:ff:ff:ff
    inet 192.168.16.1/24 brd 192.168.16.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fe80::74c9:ddff:fe3a:1f68/64 scope link 
       valid_lft forever preferred_lft forever

netplan config:

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      optional: true
  bridges:
    br0:
      interfaces:
        - eth0
      addresses:
        - 192.168.16.1/24
      dhcp4: no
      nameservers:
        addresses: [127.0.0.1]

#2

this looks like a bug in console-conf/subiquity … perhaps @mwhudson can help here …


#3

Yes, that looks like a bug in console-conf :confused: