Shutdown order vms

Ocfull

New Member
Aug 10, 2018
4
0
1
39
Hello everyone!

I bring you a question.

I have a 5 vms running on a proxmox, each of them has a specific shutdown order, i would like to shutdown with a "shutdown - h now" from script. The order of shutdown of the vm's is respected by the command ?
or turn them off all at once?.

thanxs
 
Again hello everyone!,
I use this same post to keep the theme thread.

I'm not managing to shut down the proxmox server with a particular user from ssh.
When I execute user@proxmoxserver su -c "shutdown -h now"
Throw me: "su: must be run from a terminal".

What would be the correct way to remotely shut down the server with a user other than root?

Thanks again !