Netplan 忽略尝试并应用参数

Netplan 忽略尝试并应用参数

当我输入类似以下命令时: netplan trynetplan apply netplan 什么都不输出。如果我再次尝试启动这些命令,netplan 会输出错误:

bind: address already in use
netplan: fatal error: cannot bind to port 2983, is another daemon running?, exiting.

因此 netplan 运行一些进程,就像我启动了服务一样。

netplan 配置文件:

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    {network dev}:
      dhcp4: no
      addresses: [{some one public IP}]
      gateway4: {XXX.XXX.XXX}.1
      nameservers:
        addresses: [8.8.8.8]

相关内容