Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions map.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"path" : "src/linux/linux-alar-fki.sh",
"description" : "alar-fki allows to recover a failed VM. Three recover scenarios are possible: fstab, initrd and kernel. NOTE: use option --run-on-repair. Se the docu for more details: https://github.com/Azure/repair-script-library/blob/master/src/linux/common/helpers/alar/README.md"
},
{
"id" : "linux-alar2",
"path" : "src/linux/linux-alar2.sh",
"description" : "alar2 allows to recover a failed VM. Various ations are available like: fstab, initrd and kernel. NOTE: use option --run-on-repair. See the docu for more details: https://github.com/Azure/repair-script-library/blob/master/src/linux/common/helpers/alar2/README.md. The script takes around 2min to run."
},
{
"id" : "win-enable-nested-hyperv",
"path" : "src/windows/win-enable-nested-hyperv.ps1",
Expand Down
4 changes: 4 additions & 0 deletions src/linux/common/helpers/alar/alar-fki/kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ if [[ $isRedHat == "true" ]]; then
else
set_grub_default
grubby --set-default=1 # This is the previous kernel

if [[ $(grep -qe 'VERSION_ID=\"7.\?[1-9]\?\"' /etc/os-release) ]]; then
grub2-mkconfig -o /boot/grub2/grub.cfg
fi

# Exception for RedHat 8.0 i.e sku RedHat:RHEL-HA:8.0:8.0.2020021914
# here we don't have to run the patch operation
Expand Down
Loading