grub on qemu
This commit is contained in:
parent
f19e0195af
commit
3fe4132ef1
|
@ -1012,7 +1012,7 @@ chroot "$rootdir" apt-get install -y iptables dnsutils net-tools network-manager
|
||||||
chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name nano man ntp
|
chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name nano man ntp
|
||||||
chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant
|
chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant
|
||||||
chroot "$rootdir" apt-get install -y usbutils cryptsetup zsh pinentry-curses iotop bc
|
chroot "$rootdir" apt-get install -y usbutils cryptsetup zsh pinentry-curses iotop bc
|
||||||
if [[ $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
|
if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
|
||||||
chroot "$rootdir" apt-get install -y grub2
|
chroot "$rootdir" apt-get install -y grub2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue