Skip to content

Commit

Permalink
add ubuntu check for grub issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pineapplethevoyager committed Feb 11, 2025
1 parent 8368fc3 commit e13a55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ capture_benchmark "${SCRIPT_NAME}_declare_variables_and_source_packer_files"
echo "Logging the kernel after purge and reinstall + reboot: $(uname -r)"
# fix grub issue with cvm by reinstalling before other deps
# other VHDs use grub-pc, not grub-efi
if grep -q "cvm" <<< "$FEATURE_FLAGS"; then
if [ "${OS_TYPE}" == "Ubuntu" ] && grep -q "cvm" <<< "$FEATURE_FLAGS"; then
apt_get_update || exit $ERR_APT_UPDATE_TIMEOUT
wait_for_apt_locks
apt_get_install 30 1 600 grub-efi || exit 1
Expand Down

0 comments on commit e13a55a

Please sign in to comment.