From: | Roy Marples <uberlord@g.o> |
---|---|
To: | gentoo-dev@l.g.o |
Subject: | [gentoo-dev] New network config for baselayout-ng |
Date: | Wed, 07 Feb 2007 13:19:27 |
Message-Id: | 20070207131641.1012e3ed@uberlaptop |
1 | OK, so everyone wants to keep their conf.d/net in bash. Fine by me. |
2 | |
3 | Welcome to baselayout-ng which will be a virtual and will not require |
4 | bash. |
5 | |
6 | Now that's out of the way, let's discuss configuration :) |
7 | |
8 | We still need something that is "array like" for want of a better |
9 | phrase, so how about delimiting using ; like so |
10 | config_eth0="10.1.1.1 netmask 255.255.255.0; 10.1.1.2/24" |
11 | |
12 | You could even use bash expansion here, provided that bash is your shell |
13 | config_eth0="10.1.1.{1..30}/8; 192.168.0.1 netmask 255.255.255.0" |
14 | |
15 | See, that's not too bad is it? |
16 | |
17 | Thanks |
18 | |
19 | Roy |
20 | -- |
21 | gentoo-dev@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-dev] New network config for baselayout-ng | Patrick McLean <chutzpah@g.o> |
Re: [gentoo-dev] New network config for baselayout-ng | "Raúl Porcel" <armin76@g.o> |
Re: [gentoo-dev] New network config for baselayout-ng | Ned Ludd <solar@g.o> |
Re: [gentoo-dev] New network config for baselayout-ng | Mike Frysinger <vapier@g.o> |
Re: [gentoo-dev] New network config for baselayout-ng | Mike Frysinger <vapier@g.o> |