File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
scripts/packer/provisioners Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 77
88# Install 6.8 kernel
99sudo apt-get update
10- sudo DEBIAN_FRONTEND=noninteractive sudo apt install linux-image-6.8.0-1015-azure linux-headers-6.8.0-1015-azure -y
10+ sudo DEBIAN_FRONTEND=noninteractive apt install linux-image-6.8.0-1015-azure linux-headers-6.8.0-1015-azure -y
1111
1212# Update the Grub entry name
13- sudo grub_entry_name=$( sudo grep -Po " menuentry '\KUbuntu, with Linux 6.8[^(']+" /boot/grub/grub.cfg | sort -V | head -1)
13+ grub_entry_name=" $( sudo grep -Po " menuentry '\KUbuntu, with Linux 6\ .8[^(']+" /boot/grub/grub.cfg | sort -V | head -1) "
1414sudo sed -i " s/^\s*GRUB_DEFAULT=.*$/GRUB_DEFAULT='Advanced options for Ubuntu>$grub_entry_name '/" /etc/default/grub
1515sudo update-grub
1616
You can’t perform that action at this time.
0 commit comments