|
|
@ -26,6 +26,7 @@ install_grub() {
|
|
|
|
mkdir mountpoint
|
|
|
|
mkdir mountpoint
|
|
|
|
mount_partition "${rootfs_dev_mapper}" mountpoint
|
|
|
|
mount_partition "${rootfs_dev_mapper}" mountpoint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chroot mountpoint apt-get -qqy update
|
|
|
|
chroot mountpoint apt-get -qqy install grub2
|
|
|
|
chroot mountpoint apt-get -qqy install grub2
|
|
|
|
chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2
|
|
|
|
chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2
|
|
|
|
|
|
|
|
|
|
|
|