diff options
Diffstat (limited to 'server/etc')
-rw-r--r-- | server/etc/dhcpd.conf.tmpl | 2 | ||||
-rw-r--r-- | server/etc/exports.tmpl | 3 | ||||
-rw-r--r-- | server/etc/logrotate.tmpl | 24 | ||||
-rw-r--r-- | server/etc/smb-og.conf.tmpl | 19 |
4 files changed, 31 insertions, 17 deletions
diff --git a/server/etc/dhcpd.conf.tmpl b/server/etc/dhcpd.conf.tmpl index 687bbf0f..fb6afa00 100644 --- a/server/etc/dhcpd.conf.tmpl +++ b/server/etc/dhcpd.conf.tmpl @@ -10,7 +10,7 @@ subnet NETIP netmask NETMASK { default-lease-time 600; max-lease-time 7200; next-server SERVERIP; - filename "pxelinux.0"; + filename "grldr"; use-host-decl-names on; # host HOSTNAME1 { diff --git a/server/etc/exports.tmpl b/server/etc/exports.tmpl deleted file mode 100644 index 5b30216b..00000000 --- a/server/etc/exports.tmpl +++ /dev/null @@ -1,3 +0,0 @@ -/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/logrotate.tmpl b/server/etc/logrotate.tmpl new file mode 100644 index 00000000..abe436d1 --- /dev/null +++ b/server/etc/logrotate.tmpl @@ -0,0 +1,24 @@ +# Los archivos se copian y luego se corta el original, para que los equipos puedan seguir escribiendo sobre ellos +# Las copias se comprimen +# Clientes: se guardan 500K de cada cliente: se rotan cuando llegan a 100K y se guardan 5 +# Mcastlog: se guardan dos semanas. +# servicios opengnsys y tracker: se guardan 4 semanas + + +copytruncate +compress +OPENGNSYSDIR/log/clients/*.log { + rotate 5 + size 100k +} + +OPENGNSYSDIR/log/mcastlog/ogAdmRepoMcast.*([-0-9]) { + rotate 2 + weekly +} + +OPENGNSYSDIR/log/bttrack.log OPENGNSYSDIR/log/ogAdmRepo.log OPENGNSYSDIR/log/ogAdmServer.log { + rotate 4 + weekly +} + diff --git a/server/etc/smb-og.conf.tmpl b/server/etc/smb-og.conf.tmpl index 1ee7024c..894bbc72 100644 --- a/server/etc/smb-og.conf.tmpl +++ b/server/etc/smb-og.conf.tmpl @@ -1,37 +1,30 @@ [tftpboot] comment = el directorio fisico ogclient debe estar como escritura + browseable = no writeable = no - read only = yes - #locking = no path = /var/lib/tftpboot guest ok = no -#[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 + browseable = no + writeable = no locking = no path = OPENGNSYSDIR/client guest ok = no [oglog] comment = OpenGnSys Log - read only = no + browseable = no writeable = yes path = OPENGNSYSDIR/log/clients guest ok = no [ogimages] comment = OpenGnSys Repository - read only = no + browseable = no writeable = yes locking = no path = OPENGNSYSDIR/images guest ok = no + |