修改 /etc/netplan/50-clound-init.yaml 文件 注意: 帽号后面需带有空格 “–” 后面带有空格 – to 位置和 上边的routes: 位置有关,比如说当前routes 在 13行13列,则 - to 需要在20 列,否则就会报 mapping value are not allowed here 相关文章: