...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <name-or-vm-id> snapshot mk -d "lsi logic to paravirtual" -l 72 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> state shutdown |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi mk --scsi paravirtual |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> state on |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> state shutdown |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi up -t paravirtual 0 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <name-or-vm-id> controller scsi rm 1 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> state on |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> snapshot rm <snap-id> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> state --cconfirm shutdown |
Add a temporary VMware Paravirtual Controller to the Virtual Machine.
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi mk -s-scsi paravirtual |
Verify that a new SCSI controller has been created.
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> state --confirm shutdown |
Update scsi controller 0 to type Paravirtual:
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi up -t paravirtual 0 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
vss-cli --wait compute vm set <vm-name-or-vm-id> state --confirm shutdown |
Remove temporary SCSI controller
...