You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/azure/virtual-machines/linux/repair-linux-vm-using-ALAR.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,16 @@ ALAR utilizes the VM repair extension that's described in [Repair a Linux VM by
27
27
ALAR covers the following repair scenarios:
28
28
29
29
- No-boot scenarios
30
-
- Malformed /etc/fstab
30
+
- Malformed */etc/fstab*
31
31
- syntax error
32
32
- missing disk
33
-
- Damaged initrd or missing initrd line in the /boot/grub/grub.cfg
33
+
- Damaged initrd or missing initrd line in the */boot/grub/grub.cfg*
34
34
- Last installed kernel isn't bootable
35
35
- GRUB/EFI installation or configuration damaged
36
-
-disk space / auditd forced shutdowns
36
+
-Disk space/auditd forced shutdowns
37
37
- Configuration issues
38
38
- Serial console and GRUB serial are incorrectly configured or are missing
39
-
-sudo misconfiguration
39
+
-Sudo misconfiguration
40
40
41
41
## How to use ALAR
42
42
@@ -63,7 +63,7 @@ The ALAR scripts use the [az vm repair](/cli/azure/vm/repair) extension, `run` c
63
63
az vm repair run --verbose --resource-group <RG-NAME> --name <VM-NAME> --run-id linux-alar2 --parameters <action1,action2,...> --run-on-repair
64
64
```
65
65
66
-
valid action names are given below.
66
+
See the following for valid action names.
67
67
68
68
3. Swap the copy of the OS disk back to the original VM and delete the temporary resources:
69
69
@@ -80,7 +80,7 @@ In all of the example commands these are the parameters shown:
80
80
- `VM-NAME`: The name of the broken VM.
81
81
- `RESCUE-USERNAME`: The user created on the repair VM for login. It's the equivalent of the user created on a new VM in the Azure portal.
82
82
- `RESCUE-PASS`: The password for `RESCUE-USERNAME`, enclosed in single quotes. For example: `'password!234'`.
83
-
- `action1,action2`, etc.: One or more of the defined actions available to apply to the broken VM. See the complete list of actions below, and in the [ALAR GitHub ReadMe](https://github.com/Azure/ALAR). You can pass one or more actions that are run consecutively. For multiple operations, delineate them using commas without spaces, such as `fstab,sudo`.
83
+
- `action1,action2`, etc.: One or more of the defined actions available to apply to the broken VM. See the following for a complete list of actions as well as in the [ALAR GitHub ReadMe](https://github.com/Azure/ALAR). You can pass one or more actions that are run consecutively. For multiple operations, delineate them using commas without spaces, like `fstab,sudo`.
84
84
85
85
## The ALAR actions
86
86
@@ -149,3 +149,5 @@ If you experience a bug or want to request an enhancement to the ALAR tool, post
149
149
You can also find the latest information about the ALAR tool on [GitHub](https://github.com/Azure/ALAR).
150
150
151
151
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments