> -----Original Message-----
> From: Rushikesh Jadhav [mailto:2rushike...@gmail.com]
> Sent: 15 October 2013 17:33

> To Import any XVA I think we need to have it locally present on host
> filesystem. I cant use any remote urls with xe.
> e.g xe vm-import url=http://xs.org/centos.xva";
> 
> A script can surely be made to do this since its done by cloudstack and
> openstack. ( Download first and import automatically ) Openstack has good
> example based on glance, I'll try to convert it to simple http.
> 

I see - no there is no support for doing that directly, however vm-import can 
take its data from STDIN (by doing vm-import filename=/dev/stdin), so you could 
in theory couple wget and xe together, with something like (I've not tested 
this so some of the options to wget might not be right):

wget -q -O - http://some.random.url/some.xva | xe vm-import filename=/dev/stdin

Alex

_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to