What's the correct way to reboot a host from CLI

Discussion in 'Proxmox VE: Installation and configuration' started by Hendrik, Oct 22, 2016.

  1. Hendrik

    Hendrik New Member

    Joined:
    Aug 6, 2016
    Messages:
    5
    Likes Received:
    0
    Hi everyone

    I just wanted to ask if there is a way to reboot a host from CLI so that it waits for the containers and VMs to be shutdown first. When I execute a simple reboot command it doesn't seem to wait for the containers/VMs while when issuing the reboot from the webconsole it does wait.

    Thx for your help.
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,431
    Likes Received:
    298
    This works for me. The web console also simply issues a reboot command, so this should have exactly the same behavior.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice