diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-01-02 17:19:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-02 17:19:24 +0100 |
commit | ac028c3cfa2da488fd4cf989e0889a3416183e9b (patch) | |
tree | 2cc9b184ee55c3375ed9ec7df921303b2237cf33 /scripts | |
parent | df96aa9b43aa7097a337a3e65f83fe7fdc9028ef (diff) | |
parent | adc147788603eb39ab83bd2736f4c19cd6b524d8 (diff) | |
download | vyatta-cfg-system-ac028c3cfa2da488fd4cf989e0889a3416183e9b.tar.gz vyatta-cfg-system-ac028c3cfa2da488fd4cf989e0889a3416183e9b.zip |
Merge pull request #98 from danhusan/patch-3
T1120: Add rootdelay=5 by default in grub.cfg
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-grub-setup | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index 2b7197c1..995b5c8a 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -60,9 +60,9 @@ ROOTFSDIR="$3" # Grub options if [ "$GRUB_OPTIONS" ] then - GRUB_OPTIONS="$GRUB_OPTIONS quiet" + GRUB_OPTIONS="$GRUB_OPTIONS quiet rootdelay=5" else - GRUB_OPTIONS=quiet + GRUB_OPTIONS="quiet rootdelay=5" fi # Path to standalone root password reset script @@ -103,7 +103,7 @@ else fi if eval "$UNION"; then - GRUB_OPTIONS="boot=live quiet vyos-union=/boot/$livedir" + GRUB_OPTIONS="boot=live quiet rootdelay=5 vyos-union=/boot/$livedir" union_xen_kernel_version=$(ls $ROOTFSDIR/boot/$livedir/vmlinuz*-xen* \ 2>/dev/null \ | awk -F/ '{ print $6 }' \ |