Skip to content

Commit

Permalink
Increase grub timeout. (#1357) (#1380)
Browse files Browse the repository at this point in the history
Adds five seconds to the vic-product ova grub timeout. 
Fixes #1345 and contributes to #1341.
  • Loading branch information
Jason Morris authored Feb 1, 2018
1 parent 3734ef6 commit d752303
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion installer/build/baseimage/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ progress "importing local gpg key"
rpm --import /etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY

progress "configuring grub"
sed -i 's/set timeout=5/set timeout=0/' /boot/grub2/grub.cfg
sed -i '/linux/ s/$/ consoleblank=0/' /boot/grub2/grub.cfg

progress "setting umask to 022"
Expand Down
2 changes: 1 addition & 1 deletion installer/build/baseimage/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function setup_grub() {
# Begin /boot/grub2/grub.cfg
set default=0
set timeout=0
set timeout=5
search -n -u $BOOT_UUID -s
loadfont ${BOOT_DIRECTORY}grub2/ascii.pf2
Expand Down

0 comments on commit d752303

Please sign in to comment.