Installing Virtualmin on a server with multiple IPs breaks Netplan configuration, results in no network connection on boot

On a fresh Ubuntu 18.04.2 LTS installing Virtualmin messes up /etc/netplan/01-netcfg.yaml. I'm using netplan 1.10.1-5build1. I suspect it only happens if using multiple IPs, as I have both IPv4 and IPv6.

Here's my original, working 01-netcfg.yaml:

network:
  version: 2
  renderer: networkd
  ethernets:
    enp2s0:
      addresses:
        - MY_IPv4/32
        - MY_IPv6/64
      routes:
        - on-link: true
          to: 0.0.0.0/0
          via: MY_IPv4_GATEWAY
      gateway6: fe80::1
      nameservers:
        addresses:
          - 1.1.1.1
          - 8.8.8.8



Here it is right after installing Virtualmin 6.07, which makes network connection fail on boot (I think IPv6 still worked):

network:
  version: 2
  renderer: networkd
  ethernets:
        enp2s0:
            addresses: ['MY_IPv4/32','MY_IPv6/64']
            gateway6: fe80::1
            nameservers:
                addresses: [127.0.0.1,1.1.1.1,8.8.8.8]
            routes:
                to: 0.0.0.0/0
                via: MY_IPv4_GATEWAY

(Placeholders: MY_IPv4, MY_IPv6, MY_IPv4_GATEWAY)

Status: 
Active

Comments

Got the same problem and had before. Many users have problems with it as well.

It looks like the developer thinks it's fixed, however it's not working.

Assigned: Unassigned »

Passing this along to Jamie for further comment.