-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
30 lines (23 loc) · 775 Bytes
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
#
# Copyright (c) 2011, Stephan Creutz
# Distributed under the GPLv3 License
# See accompanying file LICENSE
set -e
# master configuration options
DEBIAN_MIRROR="http://ftp.de.debian.org/debian/"
## network address where the cluster resides
NETWORK="192.168.0.0"
## netmask for the previous network
NETMASK="255.255.255.0"
## TFTP directory, the kernel image and boot entries are located there
TFTP_ROOT="/var/lib/tftpboot"
# nfs root configuration options
## path where the image for the worker nodes should reside
NFSROOT="/opt/nfsroot_diskless"
## IP address of the master/head node of the cluster
MASTERNODE_IP="192.168.0.254"
## TODO is this really required
DEFAULT_NIS_DOMAIN="Diskless-Debian-Cluster"
## is a linux ethernet bridge required
BRIDGE="y"