Browse Source

fix: script

yemingfeng 2 months ago
parent
commit
013ae37296
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/ubuntu22.sh

+ 1 - 0
scripts/ubuntu22.sh

@@ -4,6 +4,7 @@ sed -i "s/#\$nrconf{kernelhints} = -1;/\$nrconf{kernelhints} = -1;/g" /etc/needr
 
 sudo DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y
 
+mkdir /root/.ssh
 cat > /root/.ssh/id_rsa.pub << EOF
 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDB60cDQjWkBl5hKvQc53mtKSnfEKKCQc5vCq4SRgiseZ+DjYSCHshUHsVW7RtzMMllv3iTTOKcWjkLPxSs7mfTWfMac6LVuMIungsC/Sp1MUwVdzz/9T0geTx0tpuIS+5FCw/iuqJKe31ucaF0UJMUBWRPvMjc5UXAMqKPaSrtTb98sE0398eRWYSa7xrho8y0lWepp5i7fG1fKmRZE4i/yKTtLsPLKhgwvuPgsD+E+fhAmT2zEHZKZ/LRhnfBiB4Pli4aoFV85p7Q9PXwQ+4SsNhA8aYeGLtneVkfWNOSb6xbek7Uz+PN2k5s2gAckZKXVrubgCqZtF+U9aHmwEJYwsbITeB1ZiyRnYDRJ13PKBooV1NftppGUTtnOWqpKtNnztuYQimXQrYQMJb/3N7rQ7GWBkbJ00JYAQ3GXn1ML0qT4oWQmy9SDymROCwd6K5tMjXhiHj5DYnUTO5hhEEKLKNojboCzSWIiKoous/8I0OyyTUE+Fzl5jYRQ4bE9F8=
 EOF