Skip to content
Snippets Groups Projects
Commit c850e6b0 authored by nl6720's avatar nl6720 Committed by Kristian Klausen
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 39100b64
No related branches found
No related tags found
No related merge requests found
......@@ -42,9 +42,8 @@ arch-chroot mnt pacman -Sy --noconfirm --needed archlinux-keyring
arch-chroot mnt pacman -Syu --noconfirm --needed git git-lfs gitlab-runner
sed -E 's/^#(IgnorePkg *=)/\1 linux/' -i mnt/etc/pacman.conf
arch-chroot mnt userdel -r arch
mkdir mnt/root/.ssh
cp /etc/libvirt-executor/id_rsa.pub mnt/root/.ssh/authorized_keys
chmod 600 mnt/root/.ssh/authorized_keys
install -d -m0700 mnt/root/.ssh
install -m0600 /etc/libvirt-executor/id_rsa.pub mnt/root/.ssh/authorized_keys
rm -f mnt/etc/machine-id
cp -a mnt/boot/{initramfs-linux-fallback.img,initramfs-linux.img}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment