How to shutdown RHEL on Azure from command line or cron within the VM itself?

Solution In Progress - Updated -

Issue

  • RHEL server on Azure sometimes rebooted when "shutdown -h" is executed
  • How should RHEL server on Azure be shut down within itself (command or cron job, etc)?

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6 (not confirmed but might work)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.