1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh pacman-key --init pacman-key --populate pacman-key --refresh-keys pacman -Syy pacman -S --noconfirm tmux git systemctl start sshd echo "root:welcome" | chpasswd hostname=$(</etc/hostname) echo ""; echo ""; echo "init complete. "; echo "you may ssh root@$hostname using the password 'welcome'"