diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-11 19:16:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-11 19:16:25 +0200 |
commit | 573bd6a02e2fade6a4321cee60238a42a72e5138 (patch) | |
tree | c34796fcc0b1b128712112950a89c685b25252b3 | |
parent | 197c5b89ee04a7d3d09816e7f17a1ea59076a0f3 (diff) | |
download | vyatta-cfg-system-573bd6a02e2fade6a4321cee60238a42a72e5138.tar.gz vyatta-cfg-system-573bd6a02e2fade6a4321cee60238a42a72e5138.zip |
grub: remove quiet option for better information gathering
-rwxr-xr-x | scripts/vyatta-grub-setup | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index 97b408eb..5dcf0809 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -58,11 +58,10 @@ ROOTFSDIR="$3" [ "$ROOT_PARTITION" ] || exit 1 # Grub options -if [ "$GRUB_OPTIONS" ] -then - GRUB_OPTIONS="$GRUB_OPTIONS quiet rootdelay=5" +if [ "$GRUB_OPTIONS" ]; then + GRUB_OPTIONS="$GRUB_OPTIONS rootdelay=5" else - GRUB_OPTIONS="quiet rootdelay=5" + GRUB_OPTIONS="rootdelay=5" fi # Path to standalone root password reset script @@ -103,7 +102,7 @@ else fi if eval "$UNION"; then - GRUB_OPTIONS="boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 vyos-union=/boot/$livedir" + GRUB_OPTIONS="boot=live rootdelay=5 noautologin net.ifnames=0 biosdevname=0 vyos-union=/boot/$livedir" union_xen_kernel_version=$(ls $ROOTFSDIR/boot/$livedir/vmlinuz*-xen* \ 2>/dev/null \ | awk -F/ '{ print $6 }' \ |