All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: Ian Campbell <Ian.Campbell@citrix.com>, xen-devel@lists.xen.org
Subject: Re: Best way to get IP addresses from VMs without logging in to them?
Date: Wed, 11 Jun 2014 19:44:38 +0100	[thread overview]
Message-ID: <5398A396.7040507@citrix.com> (raw)
In-Reply-To: <CAHehzX3RJG0rdardmbe0B_Hy3wtfb5SFZD35YnN=mMZYcM38fg@mail.gmail.com>

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 <domain> 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

  reply	other threads:[~2014-06-11 18:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 16:32 Best way to get IP addresses from VMs without logging in to them? Russ Pavlicek
2014-06-11 16:38 ` Ian Campbell
2014-06-11 16:49   ` Andrew Cooper
2014-06-11 17:47     ` Russ Pavlicek
2014-06-11 18:02       ` Andrew Cooper
2014-06-11 18:14       ` Ian Campbell
2014-06-11 18:36         ` Russ Pavlicek
2014-06-11 18:44           ` Andrew Cooper [this message]
2014-06-11 22:10             ` Don Slutz
2014-06-12  7:26             ` Ian Campbell
2014-06-12  8:19               ` Tamas Lengyel
2014-06-11 16:40 ` Andy Smith
2014-06-11 16:49   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5398A396.7040507@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=russell.pavlicek@xenproject.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.