remove pmbr_boot flag

This commit is contained in:
Louis Abel 2022-11-21 23:55:27 -07:00
parent afe002cb5b
commit c37e9bcb86
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36
2 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,9 @@ if [ "$(arch)" = "x86_64" ]; then
grub2-install --target=i386-pc /dev/vda
fi
# Ensure that the pmbr_boot flag is off
parted /dev/vda disk_set pmbr_boot off
# setup systemd to boot to the right runlevel
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

View File

@ -86,6 +86,9 @@ if [ "$(arch)" = "x86_64" ]; then
grub2-install --target=i386-pc /dev/vda
fi
# Ensure that the pmbr_boot flag is off
parted /dev/vda disk_set pmbr_boot off
# setup systemd to boot to the right runlevel
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target