1
0
IaC/notes/arch_install_notes.txt
2022-10-25 02:55:23 +13:00

37 lines
647 B
Plaintext

fdisk on /dev/vda
part 1 start 2048 +512M type UEFI
part 2 remaining type 23 (Linux root x86-64)
mkfs.vfat -F 32 /dev/vda1
mkfs.ext4 /dev/vda2
update archinstall
extra packages:
qemu-guest-agent
nano
openssh
ufw
chroot:
systemctl enable sshd
systemctl enable systemd-networkd
systemctl enable systemd-resolved
manual sysprep steps:
remove /etc/hostname
remove /etc/machine-id
remove /etc/systemd/network/*
remove /home/ladmin/.ssh
remove /root/.ssh
remove /home/ladmin/.bash_history
remove /root/.bash_history
remove /etc/ssh/ssh_host_*
remove /tmp/*
remove /var/tmp/*