Fix syntax error in GRUB_OPTS env var handling
Reference to ${GRUB_OPTS:""} in 'vm' element causes syntax error if GRUB_OPTS is set. Fix by changing to ${GRUB_OPTS:-""}. Change-Id: Iae3ee8b7c4064c92d0cfc1b5a8caa22e53d6d112
This commit is contained in:
parent
61d474f2cd
commit
2189b627de
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ function install_grub2 {
|
|||
|
||||
echo "Installing GRUB2..."
|
||||
|
||||
GRUB_OPTS=${GRUB_OPTS:""}
|
||||
GRUB_OPTS=${GRUB_OPTS:-""}
|
||||
# XXX: This is buggy:
|
||||
# - --target=i386-pc is invalid for non-i386/amd64 architectures
|
||||
# - and for UEFI too.
|
||||
|
|
Loading…
Reference in a new issue