Automates some configuration tasks for Citrix Xenserver Guests
Pull request Compare This branch is 15 commits ahead of jonathanhoskin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Create and start a new VM with custom xenstore data:

UUID=`xe vm-install template=mytemplate  new-name-label=newvm`
xe vm-param-set uuid=$UUID xenstore-data:vm-data/ip=
xe vm-param-set uuid=$UUID xenstore-data:vm-data/gw=
xe vm-param-set uuid=$UUID xenstore-data:vm-data/nm=
xe vm-param-set uuid=$UUID xenstore-data:vm-data/ns=
xe vm-param-set uuid=$UUID xenstore-data:vm-data/
xe vm-start uuid=$UUID

Install scripts on guest VM:

Copy usr/sbin/xe-set-* into /usr/sbin/ and chmod +x

Install Upstart script on guest VM:

Copy etc/init/xe-automate.conf into /etc/init/