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
4 changes: 4 additions & 0 deletions src/vm-repair/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Release History
===============

2.1.1
++++++
Updated README file for `vm repair` extension.

2.1.0
++++++
Added new parameter `--os-disk-type` to `vm repair create` to let users specify the repair vm's os disk storage account type.
Expand Down
15 changes: 11 additions & 4 deletions src/vm-repair/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Azure CLI VM Repair Extension #
This is a extension for repairing VMs.
This is an extension for repairing VMs. Usually this is used to repair VMs that cannot boot by copying the
OS Disk to a separate repair VM copy and run [repair scripts](https://github.com/Azure/repair-script-library) against it.
VM Repair can also run repair scripts against the source VM itself.
You can also create then run your own custom repair scripts, seen in the `--custom-script-file` parameter in the `az vm repair run` command.

### How to use ###
Install this extension using the below CLI command
Expand All @@ -8,11 +11,15 @@ az extension add --name vm-repair
```

### Sample Commands ###
Repair create command
Create repair VM command
```
az vm repair create -g MyResourceGroup -n myVM --verbose
```
Restore command
Run a repair script on the new repair VM
```
az vm repair run -g MyResourceGroup -n MySourceWinVM --run-id win-hello-world --run-on-repair --verbose
```
Restore the now fixed copied OS disk from the repair VM to the original VM
```
az vm repair restore -g MyResourceGroup -n myVM --verbose
```
```
2 changes: 1 addition & 1 deletion src/vm-repair/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "2.1.0"
VERSION = "2.1.1"

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand Down