First bits of client code from the monolith refactor
This commit is contained in:
11
Lifecycle-Virtual/KVM-LifeCycle-PowerMgmt/kvm-PowerOff.sh
Normal file
11
Lifecycle-Virtual/KVM-LifeCycle-PowerMgmt/kvm-PowerOff.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
VMHOSTFULL="$1"
|
||||
USER_SUPPLIED_VMNAME="$2"
|
||||
SSH_ALIAS="ssh -q"
|
||||
|
||||
VIRSH_ALIAS="virsh -c qemu+ssh://root@$VMHOSTFULL/system?no_verify=1"
|
||||
|
||||
|
||||
|
||||
$VIRSH_ALIAS destroy $USER_SUPPLIED_VMNAME
|
Reference in New Issue
Block a user