[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Centralizing XVA repository


  • To: Rushikesh Jadhav <2rushikeshj@xxxxxxxxx>
  • From: Alex Brett <Alex.Brett@xxxxxxxxxx>
  • Date: Tue, 15 Oct 2013 16:37:36 +0000
  • Accept-language: en-GB, en-US
  • Cc: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 15 Oct 2013 16:37:52 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHOybOhVDA8+3J1kUmA1XdhuCO6c5n14OUw///yrYCAACHCwA==
  • Thread-topic: [Xen-API] Centralizing XVA repository

> -----Original Message-----
> From: Rushikesh Jadhav [mailto:2rushikeshj@xxxxxxxxx]
> 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@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.