summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2009-11-04 13:14:46 +0000
committerramon <ramongomez@us.es>2009-11-04 13:14:46 +0000
commitb6906f767a2bcb7f4b04a0db685ba0ec107a633e (patch)
treec5e95283ad57f83e9b6f7a16f63d72e1ac4ea9fb /server
parent9a2cda1e2364ce1e2449eaccca1b85e3052b51f9 (diff)
Cambios en OpenGNSys Installer.
git-svn-id: https://opengnsys.es/svn/trunk@491 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server')
-rw-r--r--server/DHCP/dhcpd.conf25
-rw-r--r--server/NFS/exports6
2 files changed, 18 insertions, 13 deletions
diff --git a/server/DHCP/dhcpd.conf b/server/DHCP/dhcpd.conf
index 276bed08..3a2326fe 100644
--- a/server/DHCP/dhcpd.conf
+++ b/server/DHCP/dhcpd.conf
@@ -1,17 +1,22 @@
ddns-update-style none;
option domain-name "example.org";
-option domain-name-servers ns1.example.org, ns2.example.org;
-default-lease-time 600;
-max-lease-time 7200;
log-facility local7;
-subnet 10.1.12.0 netmask 255.255.252.0 {
- range 10.1.12.100 10.1.12.200;
- option domain-name-servers 192.168.0.10;
- option routers 10.1.12.1;
- option broadcast-address 10.1.12.255;
+not-autoritative;
+
+subnet NETIP netmask NETMASK {
+ option domain-name-servers DNSIP;
+ option routers ROUTERIP;;
+ option broadcast-address NETBROAD;
default-lease-time 600;
max-lease-time 7200;
-# Parametros para el PXE
- next-server 10.1.12.1;
+ next-server OGSERVERIP;
filename "pxelinux.0";
+
+ host HOSTNAME1 {
+ option host-name "HOSTNAME1";
+ hardware ethernet HOSTMAC1;
+ fixed-address HOSTIP1;
+ }
+
}
+
diff --git a/server/NFS/exports b/server/NFS/exports
index 6d7782ed..bae89bfc 100644
--- a/server/NFS/exports
+++ b/server/NFS/exports
@@ -1,3 +1,3 @@
-/opt/opengnsys/client/ IP/NETMASK (ro,no_subtree_check,no_root_squash,sync)
-/opt/opengnsys/images/ IP/NETMASK (rw,no_subtree_check,no_root_squash,sync,crossmnt)
-/opt/opengnsys/log/clients IP/NETMASK (rw,no_subtree_check,no_root_squash,sync)
+/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)