From 43d33dc845900d54f6079281f7cd94786ad28c9c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 28 Oct 2019 12:09:33 +0100 Subject: [run-virt] Properly rename file --- .../opt/openslx/vmchooser/config/udhcpd-nat1.conf | 45 ---------------------- .../vmchooser/config/udhcpd-nat1.conf.template | 45 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf create mode 100644 core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf.template (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/config') diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf b/core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf deleted file mode 100644 index 19731d80..00000000 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf +++ /dev/null @@ -1,45 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# Copyright (c) 2013..2018 bwLehrpool-Projektteam -# -# This program/file is free software distributed under the GPL version 2. -# See https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html -# -# If you have any feedback please consult https://bwlehrpool.de and -# send your feedback to bwlehrpool@hs-offenburg.de. -# -# General information about bwLehrpool can be found at https://bwlehrpool.de -# -# ----------------------------------------------------------------------------- -# 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 -max_leases 80 - -# 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 /run/udhcpd-nat1.pid - -option dns %DNSSERVER% -option subnet 255.255.255.0 -option router 192.168.101.1 -option wins %WINS% -option domain %DOMAIN% -option search %SEARCH% -option lprsrv 192.168.101.1 -option ntpsrv %NTPSERVER% - diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf.template b/core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf.template new file mode 100644 index 00000000..19731d80 --- /dev/null +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf.template @@ -0,0 +1,45 @@ +# ----------------------------------------------------------------------------- +# +# Copyright (c) 2013..2018 bwLehrpool-Projektteam +# +# This program/file is free software distributed under the GPL version 2. +# See https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html +# +# If you have any feedback please consult https://bwlehrpool.de and +# send your feedback to bwlehrpool@hs-offenburg.de. +# +# General information about bwLehrpool can be found at https://bwlehrpool.de +# +# ----------------------------------------------------------------------------- +# 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 +max_leases 80 + +# 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 /run/udhcpd-nat1.pid + +option dns %DNSSERVER% +option subnet 255.255.255.0 +option router 192.168.101.1 +option wins %WINS% +option domain %DOMAIN% +option search %SEARCH% +option lprsrv 192.168.101.1 +option ntpsrv %NTPSERVER% + -- cgit v1.2.3-55-g7522