my starting guide ve.sh

This commit is contained in:
Dharmin Patel 2024-04-30 11:58:35 -04:00 committed by GitHub
parent 46be5a9b74
commit 4238d222d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

15
vm/ve.sh Normal file
View file

@ -0,0 +1,15 @@
pvesh get /nodes
pvesh get /nodes/<node>/qemu
pvesh create /nodes/<node>/qemu/<vmid>/status/start
pvesh create /nodes/<node>/qemu/<vmid>/status/stop
pvesh create /nodes/<node>/qemu/<vmid>/status/shutdown
pvesh get /nodes/<node>/lxc
pvesh create /nodes/<node>/lxc/<vmid>/status/start
pvesh create /nodes/<node>/lxc/<vmid>/status/stop