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

Re: [Xen-devel] Domid for just created domain?



"Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> writes:
> Is there any easy way in a shell script to find out the
> domid of "the domain I just created" with xm create?

xm create domain
xm list domain 

is the best way I know of getting it... you just need to sed it out.  

But usually I try not to use the numeric domain id for anything;  if you
set vifname= on the vif= line, to my knowledge there isn't anything
you can't do with symbolic names that you can do with the numeric id.  




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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