diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/install-postinst-new | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new index ee81dd58..0ed6441d 100755 --- a/scripts/install/install-postinst-new +++ b/scripts/install/install-postinst-new @@ -127,9 +127,9 @@ install_grub () { if [ -f "/tmp/efiparts.tmp" ]; then # Remove grub-pc packages - dpkg -r grub-pc grub2 + dpkg -r grub-pc grub2 >&/dev/null # Install grub-efi packages - dpkg -i /usr/share/vyos/packages/grub-efi*.deb + dpkg -i /usr/share/vyos/packages/grub-efi*.deb >&/dev/null EFI_PARTITION=1 mkdir -p $grub_root/boot/efi readarray parts < /tmp/efiparts.tmp @@ -143,9 +143,9 @@ install_grub () { bootloader_name="VyOS (RAID disk $I)" ((I++)) fi - mkdosfs -F 32 -n EFI /dev/$part + mkdosfs -F 32 -n EFI /dev/$part >&/dev/null mount /dev/$part $grub_root/boot/efi - output=$(grub-install --no-floppy --recheck --target=x86_64-efi --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --bootloader-id="$bootloader_name") + output=$(grub-install --no-floppy --recheck --target=x86_64-efi --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --bootloader-id="$bootloader_name" 2>&1) umount $grub_root/boot/efi ##TODO DO we need these to be in fstab?? # |