summaryrefslogtreecommitdiffstats
path: root/server/etc
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-03-02 11:42:59 +0000
committerramon <ramongomez@us.es>2011-03-02 11:42:59 +0000
commit813f617ae2c1fad83befb13bccf8a05213a81ee6 (patch)
tree0d963716a015570cbb25850a88a71673933a794b /server/etc
parentf6ce34f644e6c9f239475a2fb065ef0cdb38cfe0 (diff)
Instalador versiĆ³n 1.0:
* Adaptar estructura de directorios del servidor. * Adaptar funciones del instalador. * Reducir el espacio necesario para descarga de ficheros. * Algunas correcciones generales. git-svn-id: https://opengnsys.es/svn/branches/version1.0@1523 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/etc')
-rw-r--r--server/etc/dhcpd.conf.tmpl22
-rw-r--r--server/etc/exports.tmpl3
-rw-r--r--server/etc/smb-og.conf.tmpl29
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