summaryrefslogtreecommitdiffstats
path: root/server/etc
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-12-22 13:38:11 +0000
committerramon <ramongomez@us.es>2011-12-22 13:38:11 +0000
commitc3c7cb3ae6f6600223111a572050f34f2df6fa71 (patch)
tree96fce1db6bf64fee2845d3a48abcbe07d9937562 /server/etc
parent4caea352de0d0a19d4e0a2e2dd04980dd28e6be0 (diff)
Congelar versiĆ³n 1.0.2 en tags/opengnsys-1.0.2 (modifica #446).opengnsys-1.0.2
git-svn-id: https://opengnsys.es/svn/tags/opengnsys-1.0.2@2405 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/etc')
-rw-r--r--server/etc/dhcpd.conf.tmpl2
-rw-r--r--server/etc/exports.tmpl3
-rw-r--r--server/etc/logrotate.tmpl24
-rw-r--r--server/etc/smb-og.conf.tmpl19
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
+