This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# XenServer autostart script | |
# Use at your own risks | |
# Do not use with VMs using HA. | |
# Instructions: | |
# 1. Put this script in /root | |
# 2. Give execution permission: "chmod +x /root/xs_autostart.sh" | |
# 3. Add "@reboot /root/xs_autostart.sh" in root's crontab | |
# 4. Add the "autostart" to VM needing it | |
# 5. Add "autostart" in the descriptions of vApps needing it |