summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmchooser
diff options
context:
space:
mode:
authorDirk2013-12-13 18:10:18 +0100
committerDirk2013-12-13 18:10:18 +0100
commit2c0905cba928a786182d5e4ee2821d3fc322dea7 (patch)
treef71ccba6dcf73cc924090bb3a3da170ce855fd55 /remote/modules/vmchooser
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-2c0905cba928a786182d5e4ee2821d3fc322dea7.tar.gz
tm-scripts-2c0905cba928a786182d5e4ee2821d3fc322dea7.tar.xz
tm-scripts-2c0905cba928a786182d5e4ee2821d3fc322dea7.zip
Static configuration file for udhcpd sitting on new nat1 bridge interface.
Diffstat (limited to 'remote/modules/vmchooser')
-rw-r--r--remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf b/remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf
new file mode 100644
index 00000000..eb510098
--- /dev/null
+++ b/remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf
@@ -0,0 +1,52 @@
+# Copyright (c) 2013 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your suggestions, praise, or complaints to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org/
+# -----------------------------------------------------------------------------
+# udhcpd.conf
+# - This is the udhcpd configuration file servicing the nat1 interface for
+# the various virtualization services. DNSSERVER and DOMAIN are replaced
+# before deamon start in systemd script.
+################################################################################
+
+# start and end of the IP lease block
+start 192.168.101.20
+end 192.168.101.100
+
+# interface that udhcpd will use
+interface nat1
+
+# how long an offered address is reserved (leased) in seconds
+offer_time 6000
+
+# location of the leases file
+lease_file /var/lib/udhcpd/udhcpd-nat1.leases
+
+# location of the pid file
+pidfile /var/run/udhcpd-nat1.pid
+
+option dns DNSSERVER
+option subnet 255.255.255.0
+option router 192.168.101.1
+option wins 192.168.101.10
+option domain DOMAIN virtual.site
+
+
+# additional options known to udhcpd not used in OpenSLX at the moment
+#subnet #timezone
+#router #timesvr
+#namesvr #dns
+#logsvr #cookiesvr
+#lprsvr #bootsize
+#domain #swapsvr
+#rootpath #ipttl
+#mtu #broadcast
+#wins #lease
+#ntpsrv #tftp
+#bootfile #wpad
+