如果创建小鸡的版本是Canonical Ubuntu 16.04 (18.04豆子测试也是可以的),把下面脚本扔进CLOUD-INIT即可,不需要密钥。直接用root账号登录,初始账号:root 密码:Abc123456
#!/bin/bash
echo root:Abc123456 sudo chpasswd root
sudo sed -i 's/^#\\?PermitRootLogin.\*/PermitRootLogin yes/g' /etc/ssh/sshd\_config;
sudo sed -i 's/^#\\?PasswordAuthentication.\*/PasswordAuthentication yes/g' /etc/ssh/sshd\_config;
sudo service sshd restart
centOS 6.9 64bit(未实验,谨慎使用):
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.9 -v 64 -a -firmware
debian 10 64bit(推荐,来回dd几十次正常):
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a -firmware
Ubuntu 16.04 64bit(未实验,谨慎使用):
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 16.04 -v 64 -a -firmware
dd时间大概15分钟左右 初始账号:root 密码:MoeClub.org 原文教程:https://www.hostloc.com/thread-776004-1-1.html