How to start and stop a virtual machine via ssh or script.
"virsh" does not work - command not found
TVS-673 4.3.3.0361
VirtualizationStation 3.0.2836
How to start and stop a virtual machine via ssh
-
- First post
- Posts: 1
- Joined: Mon Jul 20, 2015 2:53 pm
- OneCD
- Guru
- Posts: 12155
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: How to start and stop a virtual machine via ssh
Hi and welcome to the forum.
I don't use Virtualization Station myself, so I can't confirm this, but you may need to modify a couple of environment variables to access virsh:
This was taken from Philippe's notes here.
I don't use Virtualization Station myself, so I can't confirm this, but you may need to modify a couple of environment variables to access virsh:
Code: Select all
export LD_LIBRARY_PATH=/KVM/opt/lib:/KVM/opt/lib64/
export PATH=$PATH:/KVM/opt/bin/:/KVM/opt/sbin/