-
Ensure that your VMs can shutdown gracefully when the power-button is pressed.
-
Place the file
vm-boot-order.py
in/opt
directory -
Make it executable:
chmod +x /opt/vm-boot-order.py
-
Check that the script starts and shuts down your VMs as expected. The script can be executed as follows:
/opt/vm-boot-order.py start /opt/vm-boot-order.py stop /opt/vm-boot-order.py status
-
Make a systemd service to execute the script when booting or shutting down the hypervisor:
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.