Month: February 2019

在 Ubuntu 18.04 LTS 服务器 增加 IP 地址 (含 ipv6)

下面是一个默认的示例 名称不唯一, VPS 会显示 eth0 ( 独服 kvm 等 ) Sample # 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: ethernets: enp0s3: addresses: [] dhcp4: true version: 2… Read more →