]> Raphaƫl G. Git Repositories - distcook/blob - lib/config.sh
Import cooking scripts
[distcook] / lib / config.sh
1 #! /bin/sh -e
2 export export BOOTUUID=`uuidgen`
3 export export DATANAME='data'
4 export export DATAUUID=`uuidgen`
5 export export LUKSDATAUUID=`uuidgen`
6 export export ARCH='x86_64'
7 export export MGARELEASE='cauldron'
8 export export IHTTPD_RPM=`dirname ihttpd-*.${ARCH}.rpm`/`basename ihttpd-*.${ARCH}.rpm`
9 export export ZONE='Europe/Paris'
10 export export KEYMAP='fr-latin9'
11 export export LOCALE='fr_FR.UTF-8'
12 export export LOCALE_ALT='fr'
13 export export MAIL='user@example.com'
14 export export NETHOSTNAME='host.example.com'
15 export export NETALIAS='host'
16 export export NETCONFIG=static
17 export export NETADDRESS4=`printf '192.168.2.%d/24' $[RANDOM%253+2]`
18 export export NETGATEWAY4='192.168.2.1'
19 export export NETADDRESS6=`printf 'fd4b:842b:7f35:f1ba::%x/64' $[RANDOM%65534+2]`
20 export export NETGATEWAY6='fd4b:842b:7f35:f1ba::1'
21 export export NETDNS='8.8.8.8 8.8.4.4'
22 export export NETMAC=`printf '%02x:%02x:%02x:%02x:%02x:%02x' $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256]`
23 export export ROOTPASS=`apg -m 32 -x 32 -a 0 -d -n 1`
24 export export SLASHNAME='slash'
25 export export SLASHUUID=`uuidgen`
26 export export LUKSSLASHUUID=`uuidgen`
27 export export SWAPAUUID=`uuidgen`
28 export export SWAPBUUID=`uuidgen`
29 export export USERLOGIN=`apg -M L -a 0 -m 8 -x 8 -d -n 1`
30 export export USERPASS=`apg -m 32 -x 32 -a 0 -d -n 1`