Prevent extlinux.conf overwrites
This commit is contained in:
parent
91b1cfb08c
commit
8ddbc72644
1
_vm.sh
1
_vm.sh
@ -78,6 +78,7 @@ mkinitfs -c /mnt/etc/mkinitfs/mkinitfs.conf -b /mnt $(ls /mnt/lib/modules)
|
||||
# Update extlinux (ignore the errors)
|
||||
sed -i 's/rootfstype=ext4/rootfstype=ext4 cryptroot=\/dev\/sda2 cryptdm=system/' /mnt/etc/update-extlinux.conf
|
||||
chroot /mnt update-extlinux
|
||||
sed -i 's/overwrite=1/overwrite=0/' /mnt/etc/update-extlinux.conf
|
||||
|
||||
# Set time zone
|
||||
chroot /mnt setup-timezone -z Europe/Prague
|
||||
|
Loading…
Reference in New Issue
Block a user