How To mirror the enomalism appliances to your intranet!
Contributed by: William van de Velde
To use the images from Enomalism's VMCast feed you can simply download the VMCasting XML file, then download the images that are in the RSS feed.
Instructions
mkdir vmcast
wget http://enomalism.com/vmcast_appliances.php
cat vmcast_appliances.php |grep xvm2|awk -F \" '{print $2}'|while read blah ; do wget $blah ; done
All file's will be in the directory vmcast which you can simply copy to a local webserver!
scp -r vmcast webuser@webserver.example.com:/var/www/htdocs
Now, open up a browser and make sure you can browse to those files!
http://webserver.example.com/vmcast/
This should let you see the files:
a2a7a67c-e713-11dc-8ba0-0018f39d2047.xvm2 4694cbd8-e184-11dc-ab5c-005056c00001.xvm2 f4ab60f2-d477-11dc-8eb2-0018f39d2047.xvm2 vmcast_appliances.php
If you could see those file's, you have the right url to edit the vmcast_appliances.php file.
Give the next command on the webserver.example.com server replace #webserver.example.com# with your own server!
sed -ei s#http.*Images#http://webserver.example.com#g \ /var/www/htdocs/vmcast/vmcast_appliances.php
Now you can add the appliance repository in Enomalism under the repository's tab!
Remove the online rss feeds and add your local one!
http://webserver.example.com/vmcast/vmcast_appliances.php
After a few seconds the feed will become visible and you should be able to deploy the images on your local enomalism instance.
Just click the host under infrastructure and choose 'Provision a new VM on this Machine'.
