[ubuntu]cockpit 报错:Cannot refresh cache whilst offline

ubuntu安装cockpit 报错
Cannot refresh cache whilst offline

解决
可能是网络渲染器(render)有问题,需要修改/etc/netplan/00-installer-config.yaml文件,
在network组最后添加
renderer: NetworkManager

# This is the network config written by 'subiquity'
network:
  ethernets:
    enp3s0:
      dhcp4: true
  version: 2
  renderer: NetworkManager

然后ssh运行
sudo netplan apply

THE END