GCP的DD 不是最简单了吗 模板Debian
直接wget -O- DD地址 |gunzip| dd of=/dev/sda
然后重启了 控制台看新的IP 登录就是了
===============================
我来告诉你原因,dd的命令你要指定静态ip地址,网关和子网掩码,不然dd的时候没网络,gce不想az那样有dhcp。所以你要这样写 wget –no-check-certificate -qO InstallNET.sh ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’ && bash InstallNET.sh –ip-addr 192.155.80.179 –ip-gate 192.155.80.1 –ip-mask 255.255.255.0 -dd ‘https://image.moeclub.org/GoogleDrive/1srhylymTjYS-Ky8uLw4R6LCWfAo1F3s7’ 里面的ip记得自己换成面板上的