Re: [Lxc-users] How assign the IP address sequentially?

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

 



Hi,

Thanks 4 reply dude.
It is working properly using this method, is there any other way because if
i have 1000 containers then each time i have to open each containers file
and edit that file which will definitely take much time????

Correct me if I am wrong.

On Wed, Dec 7, 2011 at 4:24 PM, lists.jc.michel@xxxxxxxxxxxx <
lists.jc.michel@xxxxxxxxxxxx> wrote:

> Hi,
>
>
> Le 7 déc. 2011 à 07:22, nishant mungse a écrit :
> > I want to assign the ip address of containers sequentially for eg::
> container1 ::195.168.206.1 container2::195.168.206.2 like this.
>
>
> I think you can do this simply by editing the files in your container once
> created :
> /var/lib/lxc/your-container-name/rootfs/etc/network/interfaces
>
> So build a script to create your container and edit its ip.

Hi,

Thanks 4 reply dude.
It is working properly using this method, is there any other way because if
i have 1000 containers then each time i have to open each containers file
and edit that file which will definitely take much time????

Correct me if I am wrong.
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers



[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux