Permalink
Browse files

Delayed the processing of the xe-automator upstart script as the /pro…

…c/xenfs mount wasnt available when xenstore-read was being called.

Updated README.md to include setting the domain name.
  • Loading branch information...
adamlau committed May 28, 2012
1 parent edec847 commit 5e2279a73c6f76b75fb0b7415d0b5d0faa8f8353
Showing with 4 additions and 2 deletions.
  1. +1 −0 README.md
  2. +3 −2 etc/init/xe-automator.conf
View
@@ -4,6 +4,7 @@
xe vm-param-set uuid=$UUID xenstore-data:vm-data/gw=192.168.1.254
xe vm-param-set uuid=$UUID xenstore-data:vm-data/nm=255.255.255.0
xe vm-param-set uuid=$UUID xenstore-data:vm-data/ns=192.168.1.254
+ xe vm-param-set uuid=$UUID xenstore-data:vm-data/dm=mydomain.com
xe vm-start uuid=$UUID
## Install scripts on guest VM:
@@ -2,8 +2,9 @@
description "XenServer Guest Configuration Automator"
-start on (filesystem
- and started networking)
+#start on (filesystem
+# and started networking)
+start on stopped rc RUNLEVEL=[2345]
script
/usr/sbin/xe-set-network

0 comments on commit 5e2279a

Please sign in to comment.