Fixed virt detection in Arch
This commit is contained in:
@@ -47,7 +47,7 @@ cat /mnt/etc/fstab
|
||||
|
||||
# Run stuff in the chroot
|
||||
curl -o /mnt/in-chroot.sh "http://${host}:${port}/in-chroot.sh"
|
||||
arch-chroot /mnt /usr/bin/bash /in-chroot.sh "${disk}"
|
||||
arch-chroot /mnt /usr/bin/bash /in-chroot.sh "${disk}" "$(systemd-detect-virt)"
|
||||
rm /mnt/in-chroot.sh
|
||||
|
||||
reboot
|
||||
|
||||
Reference in New Issue
Block a user