]> Raphaƫl G. Git Repositories - distcook/blob - config/network.conf
Import cooking scripts
[distcook] / config / network.conf
1 # Server name
2 NETHOSTNAME='host.example.com'
3 # Server name alias
4 NETALIAS='host'
5 # Net configuration (static|dhcp)
6 NETCONFIG=static
7 # IP v4 address with mask
8 NETADDRESS4=`printf '192.168.2.%d/24' $[RANDOM%253+2]`
9 # IP v4 gateway
10 NETGATEWAY4='192.168.2.1'
11 # IP v6 address with mask
12 NETADDRESS6=`printf 'fd4b:842b:7f35:f1ba::%x/64' $[RANDOM%65534+2]`
13 # IP v6 gateway
14 NETGATEWAY6='fd4b:842b:7f35:f1ba::1'
15 # DNS
16 NETDNS='8.8.8.8 8.8.4.4'
17 # MAC address ('42:de:ad:00:be:ef')
18 NETMAC=`printf '%02x:%02x:%02x:%02x:%02x:%02x' $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256]`