diff options
Diffstat (limited to 'server/etc')
-rw-r--r-- | server/etc/dhcpd.conf.tmpl | 22 | ||||
-rw-r--r-- | server/etc/exports.tmpl | 3 | ||||
-rw-r--r-- | server/etc/smb-og.conf.tmpl | 29 |
3 files changed, 54 insertions, 0 deletions
diff --git a/server/etc/dhcpd.conf.tmpl b/server/etc/dhcpd.conf.tmpl new file mode 100644 index 00000000..687bbf0f --- /dev/null +++ b/server/etc/dhcpd.conf.tmpl @@ -0,0 +1,22 @@ +ddns-update-style none; +option domain-name "example.org"; +log-facility local7; +not-authoritative; + +subnet NETIP netmask NETMASK { + option domain-name-servers DNSIP; + option routers ROUTERIP; + option broadcast-address NETBROAD; + default-lease-time 600; + max-lease-time 7200; + next-server SERVERIP; + filename "pxelinux.0"; + use-host-decl-names on; + +# host HOSTNAME1 { +# hardware ethernet HOSTMAC1; +# fixed-address HOSTIP1; +# } + +} + diff --git a/server/etc/exports.tmpl b/server/etc/exports.tmpl new file mode 100644 index 00000000..5b30216b --- /dev/null +++ b/server/etc/exports.tmpl @@ -0,0 +1,3 @@ +/opt/opengnsys/client NETIP/NETMASK(ro,no_subtree_check,no_root_squash,sync) +/opt/opengnsys/images NETIP/NETMASK(rw,no_subtree_check,no_root_squash,sync,crossmnt) +/opt/opengnsys/log/clients NETIP/NETMASK(rw,no_subtree_check,no_root_squash,sync)
\ No newline at end of file diff --git a/server/etc/smb-og.conf.tmpl b/server/etc/smb-og.conf.tmpl new file mode 100644 index 00000000..6256af7e --- /dev/null +++ b/server/etc/smb-og.conf.tmpl @@ -0,0 +1,29 @@ +[ogboot] + comment = OpenGnSys Boot + writeable = no + read only = yes + #locking = no + path = /var/lib/tftpboot + guest ok = no + +[ogclient] + comment = OpenGnSys Client + read only = yes + locking = no + path = OPENGNSYSDIR/client + guest ok = no + +[oglog] + comment = OpenGnSys Log + read only = no + writeable = yes + path = OPENGNSYSDIR/log/clients + guest ok = no + +[ogimages] + comment = OpenGnSys Repository + read only = no + writeable = yes + locking = no + path = OPENGNSYSDIR/images + guest ok = no |