rebooting KVM VM from terminal

Timo

New Member
Mar 20, 2009
7
0
1
Hi!

I need to reboot a KVM VM every night by a cron job. For OVZ containers I used vzctl to achieve this but I did not find a similar tool for KVM. Any advices on this?
 
Hi!

I need to reboot a KVM VM every night by a cron job. For OVZ containers I used vzctl to achieve this but I did not find a similar tool for KVM. Any advices on this?

see 'man qm'
 
and?????
what's the solution?
Diaolin
:rolleyes:

for example:

Code:
qm shutdown VMID
and

Code:
qm start VMID
(make sure that that the guest accepts anonymous acpi shutdown command)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!