Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 818 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 818 Bytes

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=192.168.1.20
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-param-set uuid=$UUID xenstore-data:vm-data/password=mypassw0rd
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/

Created xe-automator directory

mkdir /root/.xe-automator

Reboot