Re: [Lxc-users] retrieve guest container's ip address

2013-01-07 Thread Alan McDuff
the guest with "ssh ubuntu@guest1" or use "nslookup guest1". HTH Alan From: Ben Butler-Cole To: Alan McDuff Cc: Marko Anastasov ; "lxc-users@lists.sourceforge.net" Sent: Monday, January 7, 2013 11:11 AM Subject: Re: [Lxc-users] ret

Re: [Lxc-users] retrieve guest container's ip address

2013-01-07 Thread Ben Butler-Cole
On 5 January 2013 12:29, Alan McDuff wrote: > >If you paste the .lxc part from > http://www.stgraber.org/2012/07/17/easily-ssh-to-your-containers-and-vms-on-ubuntu-12-04-lts/ > into > your ~/.ssh/config >and start the container, then you should be able to ssh > with "ssh ubu...@guest1.lxc". > >

Re: [Lxc-users] retrieve guest container's ip address

2013-01-05 Thread Alan McDuff
>If you paste the .lxc part from  >http://www.stgraber.org/2012/07/17/easily-ssh-to-your-containers-and-vms-on-ubuntu-12-04-lts/ > into your ~/.ssh/config >and start the container, then you should be able to >ssh with "ssh ubu...@guest1.lxc". > >Marko  Thanks, but this doesn't look like a clean s

Re: [Lxc-users] retrieve guest container's ip address

2013-01-05 Thread Marko Anastasov
On Sat, Jan 5, 2013 at 1:03 PM, Alan McDuff wrote: > Great, thank you, Marko. I had read the thread, but first it didn't make > sense to me. From Stephanes last reply I found that this is all I need: > > user@host:~$ host guest1 10.0.3.1 > Using domain server: > Name: 10.0.3.1 > Address: 10.0.3.1

Re: [Lxc-users] retrieve guest container's ip address

2013-01-05 Thread Alan McDuff
nk you Alan From: Marko Anastasov To: Alan McDuff Cc: "lxc-users@lists.sourceforge.net" Sent: Saturday, January 5, 2013 12:27 PM Subject: Re: [Lxc-users] retrieve guest container's ip address On Sat, Jan 5, 2013 at 12:21 PM, Alan McDuff wrote: Hello, >si

Re: [Lxc-users] retrieve guest container's ip address

2013-01-05 Thread Marko Anastasov
On Sat, Jan 5, 2013 at 12:21 PM, Alan McDuff wrote: > Hello, > since Ubuntu 12.04 made it very simple to create a lxc guest, I was able > to start experimenting with lxc. > I create and run the container using: > > lxc-create -t ubuntu -n guest1 > lxc-start -n guest1 -d > > But how do I get the i

[Lxc-users] retrieve guest container's ip address

2013-01-05 Thread Alan McDuff
Hello, since Ubuntu 12.04 made it very simple to create a lxc guest, I was able to start experimenting with lxc. I create and run the container using: lxc-create -t ubuntu -n guest1 lxc-start -n guest1 -d But how do I get the ip address of the guest, which I think is assigned by a dhcp server r