From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: Best way to get IP addresses from VMs without logging in to them? Date: Wed, 11 Jun 2014 19:44:38 +0100 Message-ID: <5398A396.7040507@citrix.com> References: <1402504732.16332.51.camel@kazak.uk.xensource.com> <539888A1.6020004@citrix.com> <1402510491.31087.49.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Russ Pavlicek Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 11/06/14 19:36, Russ Pavlicek wrote: >>> There isn't any way to execute a command over the Xen console >>> interface is there? >> No - Xen has no knowledge of networking. I assume you actually mean dom0. > My error in not being specific. I mean using a script over the "xl > console" interface, kind of like the ssh syntax: > > ssh user@vm "commands..." > > maybe: > > xl console domno "commands..." > > or an expect script which could feed the "xl console" interface. > > Russ xl console connects your current tty up to the vm console. It is entirely guest controlled, and likely requires a login and password as a first step. ~Andrew