[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, master, updated. 7f971754be744f5af7655e0c6956e7099762ba60

Andreas B. Mundt andi.mundt at web.de
Fri Jan 20 19:26:50 UTC 2012


The following commit has been merged in the master branch:
commit 7f971754be744f5af7655e0c6956e7099762ba60
Author: Andreas B. Mundt <andi.mundt at web.de>
Date:   Fri Jan 20 20:23:47 2012 +0100

    Add SWAP_SERVER class offering diskless clients swap files on demand.
    Rework DHCP/DNS setup: 100 workstations, 100 diskless machines by default.
    Small fixes.  The setup is not yet complete and still needs fine tuning.

diff --git a/fai/config/debconf/DISKLESS b/fai/config/debconf/DISKLESS
index c43c2a8..106dc74 100644
--- a/fai/config/debconf/DISKLESS
+++ b/fai/config/debconf/DISKLESS
@@ -7,3 +7,9 @@ xserver-xorg xserver-xorg/autodetect_monitor boolean false
 xserver-xorg xserver-xorg/autodetect_keyboard boolean true
 xserver-xorg xserver-xorg/autodetect_mouse boolean true
 xserver-xorg xserver-xorg/autodetect_video_card boolean true
+nbd-client nbd-client/killall boolean false
+nbd-client nbd-client/device string /dev/nbd0
+nbd-client nbd-client/host string swapserver
+nbd-client nbd-client/port string 9572
+nbd-client nbd-client/type select swap
+nbd-client nbd-client/number string 1
diff --git a/fai/config/files/etc/bind/db.10.in-addr.arpa./SERVER_A b/fai/config/files/etc/bind/db.10.in-addr.arpa./SERVER_A
deleted file mode 100644
index e8ad19e..0000000
--- a/fai/config/files/etc/bind/db.10.in-addr.arpa./SERVER_A
+++ /dev/null
@@ -1,30 +0,0 @@
-$TTL 500
-@               IN      SOA     mainserver.intern. root.postoffice.intern. (
-                                1 ; Serialnumber
-                                3600    ; Refresh
-                                1800    ; Retry
-                                720000  ; Expire
-                                6400 )  ; Minimum TTL
-                        NS      mainserver.intern.
-                        MX      10 mainserver.intern.
-1.0.0                   PTR     mainserver.intern.
-10.0.0                  PTR     workstation00.intern.
-11.0.0                  PTR     workstation01.intern.
-12.0.0                  PTR     workstation02.intern.
-13.0.0                  PTR     workstation03.intern.
-14.0.0                  PTR     workstation04.intern.
-15.0.0                  PTR     workstation05.intern.
-16.0.0                  PTR     workstation06.intern.
-17.0.0                  PTR     workstation07.intern.
-18.0.0                  PTR     workstation08.intern.
-19.0.0                  PTR     workstation09.intern.
-20.0.0                  PTR     workstation10.intern.
-21.0.0                  PTR     workstation11.intern.
-22.0.0                  PTR     workstation12.intern.
-23.0.0                  PTR     workstation13.intern.
-24.0.0                  PTR     workstation14.intern.
-25.0.0                  PTR     workstation15.intern.
-26.0.0                  PTR     workstation16.intern.
-27.0.0                  PTR     workstation17.intern.
-28.0.0                  PTR     workstation18.intern.
-29.0.0                  PTR     workstation19.intern.
diff --git a/fai/config/files/etc/bind/db.10.in-addr.arpa/SERVER_A b/fai/config/files/etc/bind/db.10.in-addr.arpa/SERVER_A
new file mode 100644
index 0000000..4801f3e
--- /dev/null
+++ b/fai/config/files/etc/bind/db.10.in-addr.arpa/SERVER_A
@@ -0,0 +1,130 @@
+$TTL 500
+@               IN      SOA     mainserver.intern. root.postoffice.intern. (
+                                1 ; Serialnumber
+                                3600    ; Refresh
+                                1800    ; Retry
+                                720000  ; Expire
+                                6400 )  ; Minimum TTL
+                        NS      mainserver.intern.
+                        MX      10 mainserver.intern.
+1.0.0                   PTR     mainserver.intern.
+50.0.0                  PTR     workstation00.intern.
+51.0.0                  PTR     workstation01.intern.
+52.0.0                  PTR     workstation02.intern.
+53.0.0                  PTR     workstation03.intern.
+54.0.0                  PTR     workstation04.intern.
+55.0.0                  PTR     workstation05.intern.
+56.0.0                  PTR     workstation06.intern.
+57.0.0                  PTR     workstation07.intern.
+58.0.0                  PTR     workstation08.intern.
+59.0.0                  PTR     workstation09.intern.
+60.0.0                  PTR     workstation10.intern.
+61.0.0                  PTR     workstation11.intern.
+62.0.0                  PTR     workstation12.intern.
+63.0.0                  PTR     workstation13.intern.
+64.0.0                  PTR     workstation14.intern.
+65.0.0                  PTR     workstation15.intern.
+66.0.0                  PTR     workstation16.intern.
+67.0.0                  PTR     workstation17.intern.
+68.0.0                  PTR     workstation18.intern.
+69.0.0                  PTR     workstation19.intern.
+70.0.0                  PTR     workstation20.intern.
+71.0.0                  PTR     workstation21.intern.
+72.0.0                  PTR     workstation22.intern.
+73.0.0                  PTR     workstation23.intern.
+74.0.0                  PTR     workstation24.intern.
+75.0.0                  PTR     workstation25.intern.
+76.0.0                  PTR     workstation26.intern.
+77.0.0                  PTR     workstation27.intern.
+78.0.0                  PTR     workstation28.intern.
+79.0.0                  PTR     workstation29.intern.
+80.0.0                  PTR     workstation30.intern.
+81.0.0                  PTR     workstation31.intern.
+82.0.0                  PTR     workstation32.intern.
+83.0.0                  PTR     workstation33.intern.
+84.0.0                  PTR     workstation34.intern.
+85.0.0                  PTR     workstation35.intern.
+86.0.0                  PTR     workstation36.intern.
+87.0.0                  PTR     workstation37.intern.
+88.0.0                  PTR     workstation38.intern.
+89.0.0                  PTR     workstation39.intern.
+90.0.0                  PTR     workstation40.intern.
+91.0.0                  PTR     workstation41.intern.
+92.0.0                  PTR     workstation42.intern.
+93.0.0                  PTR     workstation43.intern.
+94.0.0                  PTR     workstation44.intern.
+95.0.0                  PTR     workstation45.intern.
+96.0.0                  PTR     workstation46.intern.
+97.0.0                  PTR     workstation47.intern.
+98.0.0                  PTR     workstation48.intern.
+99.0.0                  PTR     workstation49.intern.
+100.0.0                 PTR     workstation50.intern.
+101.0.0                 PTR     workstation51.intern.
+102.0.0                 PTR     workstation52.intern.
+103.0.0                 PTR     workstation53.intern.
+104.0.0                 PTR     workstation54.intern.
+105.0.0                 PTR     workstation55.intern.
+106.0.0                 PTR     workstation56.intern.
+107.0.0                 PTR     workstation57.intern.
+108.0.0                 PTR     workstation58.intern.
+109.0.0                 PTR     workstation59.intern.
+150.0.0                 PTR     diskless00.intern.
+151.0.0                 PTR     diskless01.intern.
+152.0.0                 PTR     diskless02.intern.
+153.0.0                 PTR     diskless03.intern.
+154.0.0                 PTR     diskless04.intern.
+155.0.0                 PTR     diskless05.intern.
+156.0.0                 PTR     diskless06.intern.
+157.0.0                 PTR     diskless07.intern.
+158.0.0                 PTR     diskless08.intern.
+159.0.0                 PTR     diskless09.intern.
+160.0.0                 PTR     diskless10.intern.
+161.0.0                 PTR     diskless11.intern.
+162.0.0                 PTR     diskless12.intern.
+163.0.0                 PTR     diskless13.intern.
+164.0.0                 PTR     diskless14.intern.
+165.0.0                 PTR     diskless15.intern.
+166.0.0                 PTR     diskless16.intern.
+167.0.0                 PTR     diskless17.intern.
+168.0.0                 PTR     diskless18.intern.
+169.0.0                 PTR     diskless19.intern.
+170.0.0                 PTR     diskless20.intern.
+171.0.0                 PTR     diskless21.intern.
+172.0.0                 PTR     diskless22.intern.
+173.0.0                 PTR     diskless23.intern.
+174.0.0                 PTR     diskless24.intern.
+175.0.0                 PTR     diskless25.intern.
+176.0.0                 PTR     diskless26.intern.
+177.0.0                 PTR     diskless27.intern.
+178.0.0                 PTR     diskless28.intern.
+179.0.0                 PTR     diskless29.intern.
+180.0.0                 PTR     diskless30.intern.
+181.0.0                 PTR     diskless31.intern.
+182.0.0                 PTR     diskless32.intern.
+183.0.0                 PTR     diskless33.intern.
+184.0.0                 PTR     diskless34.intern.
+185.0.0                 PTR     diskless35.intern.
+186.0.0                 PTR     diskless36.intern.
+187.0.0                 PTR     diskless37.intern.
+188.0.0                 PTR     diskless38.intern.
+189.0.0                 PTR     diskless39.intern.
+190.0.0                 PTR     diskless40.intern.
+191.0.0                 PTR     diskless41.intern.
+192.0.0                 PTR     diskless42.intern.
+193.0.0                 PTR     diskless43.intern.
+194.0.0                 PTR     diskless44.intern.
+195.0.0                 PTR     diskless45.intern.
+196.0.0                 PTR     diskless46.intern.
+197.0.0                 PTR     diskless47.intern.
+198.0.0                 PTR     diskless48.intern.
+199.0.0                 PTR     diskless49.intern.
+200.0.0                 PTR     diskless50.intern.
+201.0.0                 PTR     diskless51.intern.
+202.0.0                 PTR     diskless52.intern.
+203.0.0                 PTR     diskless53.intern.
+204.0.0                 PTR     diskless54.intern.
+205.0.0                 PTR     diskless55.intern.
+206.0.0                 PTR     diskless56.intern.
+207.0.0                 PTR     diskless57.intern.
+208.0.0                 PTR     diskless58.intern.
+209.0.0                 PTR     diskless59.intern.
diff --git a/fai/config/files/etc/bind/db.intern/SERVER_A b/fai/config/files/etc/bind/db.intern/SERVER_A
index c1be228..9b47cde 100644
--- a/fai/config/files/etc/bind/db.intern/SERVER_A
+++ b/fai/config/files/etc/bind/db.intern/SERVER_A
@@ -18,7 +18,6 @@ www                     CNAME   mainserver.intern.
 ntp                     CNAME   mainserver.intern.
 webcache                CNAME   mainserver.intern.
 cfengine                CNAME   mainserver.intern.
-sitesummary             CNAME   mainserver.intern.
 bootps                  CNAME   mainserver.intern.
 homes                   CNAME   mainserver.intern.
 wpad                    CNAME   mainserver.intern.
@@ -32,23 +31,204 @@ kerberos                CNAME   mainserver.intern.
 postoffice              CNAME   mainserver.intern.
 syslog                  CNAME   mainserver.intern.
 faiserver               CNAME   mainserver.intern.
-workstation00           A       10.0.0.10
-workstation01           A       10.0.0.11
-workstation02           A       10.0.0.12
-workstation03           A       10.0.0.13
-workstation04           A       10.0.0.14
-workstation05           A       10.0.0.15
-workstation06           A       10.0.0.16
-workstation07           A       10.0.0.17
-workstation08           A       10.0.0.18
-workstation09           A       10.0.0.19
-workstation10           A       10.0.0.20
-workstation11           A       10.0.0.21
-workstation12           A       10.0.0.22
-workstation13           A       10.0.0.23
-workstation14           A       10.0.0.24
-workstation15           A       10.0.0.25
-workstation16           A       10.0.0.26
-workstation17           A       10.0.0.27
-workstation18           A       10.0.0.28
-workstation19           A       10.0.0.29
+swapserver              CNAME   mainserver.intern.
+workstation00           A       10.0.0.50
+workstation01           A       10.0.0.51
+workstation02           A       10.0.0.52
+workstation03           A       10.0.0.53
+workstation04           A       10.0.0.54
+workstation05           A       10.0.0.55
+workstation06           A       10.0.0.56
+workstation07           A       10.0.0.57
+workstation08           A       10.0.0.58
+workstation09           A       10.0.0.59
+workstation10           A       10.0.0.60
+workstation11           A       10.0.0.61
+workstation12           A       10.0.0.62
+workstation13           A       10.0.0.63
+workstation14           A       10.0.0.64
+workstation15           A       10.0.0.65
+workstation16           A       10.0.0.66
+workstation17           A       10.0.0.67
+workstation18           A       10.0.0.68
+workstation19           A       10.0.0.69
+workstation20           A       10.0.0.70
+workstation21           A       10.0.0.71
+workstation22           A       10.0.0.72
+workstation23           A       10.0.0.73
+workstation24           A       10.0.0.74
+workstation25           A       10.0.0.75
+workstation26           A       10.0.0.76
+workstation27           A       10.0.0.77
+workstation28           A       10.0.0.78
+workstation29           A       10.0.0.79
+workstation30           A       10.0.0.80
+workstation31           A       10.0.0.81
+workstation32           A       10.0.0.82
+workstation33           A       10.0.0.83
+workstation34           A       10.0.0.84
+workstation35           A       10.0.0.85
+workstation36           A       10.0.0.86
+workstation37           A       10.0.0.87
+workstation38           A       10.0.0.88
+workstation39           A       10.0.0.89
+workstation40           A       10.0.0.90
+workstation41           A       10.0.0.91
+workstation42           A       10.0.0.92
+workstation43           A       10.0.0.93
+workstation44           A       10.0.0.94
+workstation45           A       10.0.0.95
+workstation46           A       10.0.0.96
+workstation47           A       10.0.0.97
+workstation48           A       10.0.0.98
+workstation49           A       10.0.0.99
+workstation50           A       10.0.0.100
+workstation51           A       10.0.0.101
+workstation52           A       10.0.0.102
+workstation53           A       10.0.0.103
+workstation54           A       10.0.0.104
+workstation55           A       10.0.0.105
+workstation56           A       10.0.0.106
+workstation57           A       10.0.0.107
+workstation58           A       10.0.0.108
+workstation59           A       10.0.0.109
+workstation60           A       10.0.0.110
+workstation61           A       10.0.0.111
+workstation62           A       10.0.0.112
+workstation63           A       10.0.0.113
+workstation64           A       10.0.0.114
+workstation65           A       10.0.0.115
+workstation66           A       10.0.0.116
+workstation67           A       10.0.0.117
+workstation68           A       10.0.0.118
+workstation69           A       10.0.0.119
+workstation70           A       10.0.0.120
+workstation71           A       10.0.0.121
+workstation72           A       10.0.0.122
+workstation73           A       10.0.0.123
+workstation74           A       10.0.0.124
+workstation75           A       10.0.0.125
+workstation76           A       10.0.0.126
+workstation77           A       10.0.0.127
+workstation78           A       10.0.0.128
+workstation79           A       10.0.0.129
+workstation80           A       10.0.0.130
+workstation81           A       10.0.0.131
+workstation82           A       10.0.0.132
+workstation83           A       10.0.0.133
+workstation84           A       10.0.0.134
+workstation85           A       10.0.0.135
+workstation86           A       10.0.0.136
+workstation87           A       10.0.0.137
+workstation88           A       10.0.0.138
+workstation89           A       10.0.0.139
+workstation90           A       10.0.0.140
+workstation91           A       10.0.0.141
+workstation92           A       10.0.0.142
+workstation93           A       10.0.0.143
+workstation94           A       10.0.0.144
+workstation95           A       10.0.0.145
+workstation96           A       10.0.0.146
+workstation97           A       10.0.0.147
+workstation98           A       10.0.0.148
+workstation99           A       10.0.0.149
+diskless00              A       10.0.0.150
+diskless01              A       10.0.0.151
+diskless02              A       10.0.0.152
+diskless03              A       10.0.0.153
+diskless04              A       10.0.0.154
+diskless05              A       10.0.0.155
+diskless06              A       10.0.0.156
+diskless07              A       10.0.0.157
+diskless08              A       10.0.0.158
+diskless09              A       10.0.0.159
+diskless10              A       10.0.0.160
+diskless11              A       10.0.0.161
+diskless12              A       10.0.0.162
+diskless13              A       10.0.0.163
+diskless14              A       10.0.0.164
+diskless15              A       10.0.0.165
+diskless16              A       10.0.0.166
+diskless17              A       10.0.0.167
+diskless18              A       10.0.0.168
+diskless19              A       10.0.0.169
+diskless20              A       10.0.0.170
+diskless21              A       10.0.0.171
+diskless22              A       10.0.0.172
+diskless23              A       10.0.0.173
+diskless24              A       10.0.0.174
+diskless25              A       10.0.0.175
+diskless26              A       10.0.0.176
+diskless27              A       10.0.0.177
+diskless28              A       10.0.0.178
+diskless29              A       10.0.0.179
+diskless30              A       10.0.0.180
+diskless31              A       10.0.0.181
+diskless32              A       10.0.0.182
+diskless33              A       10.0.0.183
+diskless34              A       10.0.0.184
+diskless35              A       10.0.0.185
+diskless36              A       10.0.0.186
+diskless37              A       10.0.0.187
+diskless38              A       10.0.0.188
+diskless39              A       10.0.0.189
+diskless40              A       10.0.0.190
+diskless41              A       10.0.0.191
+diskless42              A       10.0.0.192
+diskless43              A       10.0.0.193
+diskless44              A       10.0.0.194
+diskless45              A       10.0.0.195
+diskless46              A       10.0.0.196
+diskless47              A       10.0.0.197
+diskless48              A       10.0.0.198
+diskless49              A       10.0.0.199
+diskless50              A       10.0.0.200
+diskless51              A       10.0.0.201
+diskless52              A       10.0.0.202
+diskless53              A       10.0.0.203
+diskless54              A       10.0.0.204
+diskless55              A       10.0.0.205
+diskless56              A       10.0.0.206
+diskless57              A       10.0.0.207
+diskless58              A       10.0.0.208
+diskless59              A       10.0.0.209
+diskless60              A       10.0.0.210
+diskless61              A       10.0.0.211
+diskless62              A       10.0.0.212
+diskless63              A       10.0.0.213
+diskless64              A       10.0.0.214
+diskless65              A       10.0.0.215
+diskless66              A       10.0.0.216
+diskless67              A       10.0.0.217
+diskless68              A       10.0.0.218
+diskless69              A       10.0.0.219
+diskless70              A       10.0.0.220
+diskless71              A       10.0.0.221
+diskless72              A       10.0.0.222
+diskless73              A       10.0.0.223
+diskless74              A       10.0.0.224
+diskless75              A       10.0.0.225
+diskless76              A       10.0.0.226
+diskless77              A       10.0.0.227
+diskless78              A       10.0.0.228
+diskless79              A       10.0.0.229
+diskless80              A       10.0.0.230
+diskless81              A       10.0.0.231
+diskless82              A       10.0.0.232
+diskless83              A       10.0.0.233
+diskless84              A       10.0.0.234
+diskless85              A       10.0.0.235
+diskless86              A       10.0.0.236
+diskless87              A       10.0.0.237
+diskless88              A       10.0.0.238
+diskless89              A       10.0.0.239
+diskless90              A       10.0.0.240
+diskless91              A       10.0.0.241
+diskless92              A       10.0.0.242
+diskless93              A       10.0.0.243
+diskless94              A       10.0.0.244
+diskless95              A       10.0.0.245
+diskless96              A       10.0.0.246
+diskless97              A       10.0.0.247
+diskless98              A       10.0.0.248
+diskless99              A       10.0.0.249
diff --git a/fai/config/files/etc/bind/localzones/SERVER_A b/fai/config/files/etc/bind/localzones/SERVER_A
index c7b708b..3592703 100644
--- a/fai/config/files/etc/bind/localzones/SERVER_A
+++ b/fai/config/files/etc/bind/localzones/SERVER_A
@@ -1,7 +1,7 @@
-zone "10.in-addr.arpa." {
+zone "10.in-addr.arpa" {
         type master;
         notify yes;
-        file "/etc/bind/db.10.in-addr.arpa.";
+        file "/etc/bind/db.10.in-addr.arpa";
         
         
 };
diff --git a/fai/config/files/etc/dhcp/dhcpd.conf/FAISERVER b/fai/config/files/etc/dhcp/dhcpd.conf/FAISERVER
index c893727..981ef4d 100644
--- a/fai/config/files/etc/dhcp/dhcpd.conf/FAISERVER
+++ b/fai/config/files/etc/dhcp/dhcpd.conf/FAISERVER
@@ -11,35 +11,220 @@ option ntp-servers ntp;
 subnet 10.0.0.0 netmask 255.255.0.0 {
    allow unknown-clients;
    range 10.0.1.10 10.0.1.200;
+   server-name faiserver;
+   next-server faiserver;
+   filename "fai/pxelinux.0";
 }
 
 group {
    server-name faiserver;
    next-server faiserver;
    filename "fai/pxelinux.0";
-   host workstation00 {hardware ethernet 52:54:00:b7:f1:38;  fixed-address 10.0.0.10;}
-   host workstation01 {hardware ethernet 52:54:00:35:53:88;  fixed-address 10.0.0.11;}
-   host workstation02 {hardware ethernet 1:2:3:4:5:2;  fixed-address 10.0.0.12;}
-   host workstation03 {hardware ethernet 1:2:3:4:5:3;  fixed-address 10.0.0.13;}
-   host workstation04 {hardware ethernet 1:2:3:4:5:4;  fixed-address 10.0.0.14;}
-   host workstation05 {hardware ethernet 1:2:3:4:5:5;  fixed-address 10.0.0.15;}
-   host workstation06 {hardware ethernet 1:2:3:4:5:6;  fixed-address 10.0.0.16;}
-   host workstation07 {hardware ethernet 1:2:3:4:5:7;  fixed-address 10.0.0.17;}
-   host workstation08 {hardware ethernet 1:2:3:4:5:8;  fixed-address 10.0.0.18;}
-   host workstation09 {hardware ethernet 1:2:3:4:5:9;  fixed-address 10.0.0.19;}
-   host workstation10 {hardware ethernet 1:2:3:4:5:10; fixed-address 10.0.0.20;}
-   host workstation11 {hardware ethernet 1:2:3:4:5:11; fixed-address 10.0.0.21;}
-   host workstation12 {hardware ethernet 1:2:3:4:5:12; fixed-address 10.0.0.22;}
-   host workstation13 {hardware ethernet 1:2:3:4:5:13; fixed-address 10.0.0.23;}
-   host workstation14 {hardware ethernet 1:2:3:4:5:14; fixed-address 10.0.0.24;}
-   host workstation15 {hardware ethernet 1:2:3:4:5:15; fixed-address 10.0.0.25;}
-   host workstation16 {hardware ethernet 1:2:3:4:5:16; fixed-address 10.0.0.26;}
-   host workstation17 {hardware ethernet 1:2:3:4:5:17; fixed-address 10.0.0.27;}
-   host workstation18 {hardware ethernet 1:2:3:4:5:18; fixed-address 10.0.0.28;}
-   host workstation19 {hardware ethernet 1:2:3:4:5:19; fixed-address 10.0.0.29;}
+   host workstation00 {hardware ethernet A1:B2:C3;D4:E5:00; fixed-address 10.0.0.50;}
+   host workstation01 {hardware ethernet A1:B2:C3;D4:E5:01; fixed-address 10.0.0.51;}
+   host workstation02 {hardware ethernet A1:B2:C3;D4:E5:02; fixed-address 10.0.0.52;}
+   host workstation03 {hardware ethernet A1:B2:C3;D4:E5:03; fixed-address 10.0.0.53;}
+   host workstation04 {hardware ethernet A1:B2:C3;D4:E5:04; fixed-address 10.0.0.54;}
+   host workstation05 {hardware ethernet A1:B2:C3;D4:E5:05; fixed-address 10.0.0.55;}
+   host workstation06 {hardware ethernet A1:B2:C3;D4:E5:06; fixed-address 10.0.0.56;}
+   host workstation07 {hardware ethernet A1:B2:C3;D4:E5:07; fixed-address 10.0.0.57;}
+   host workstation08 {hardware ethernet A1:B2:C3;D4:E5:08; fixed-address 10.0.0.58;}
+   host workstation09 {hardware ethernet A1:B2:C3;D4:E5:09; fixed-address 10.0.0.59;}
+   host workstation10 {hardware ethernet A1:B2:C3;D4:E5:10; fixed-address 10.0.0.60;}
+   host workstation11 {hardware ethernet A1:B2:C3;D4:E5:11; fixed-address 10.0.0.61;}
+   host workstation12 {hardware ethernet A1:B2:C3;D4:E5:12; fixed-address 10.0.0.62;}
+   host workstation13 {hardware ethernet A1:B2:C3;D4:E5:13; fixed-address 10.0.0.63;}
+   host workstation14 {hardware ethernet A1:B2:C3;D4:E5:14; fixed-address 10.0.0.64;}
+   host workstation15 {hardware ethernet A1:B2:C3;D4:E5:15; fixed-address 10.0.0.65;}
+   host workstation16 {hardware ethernet A1:B2:C3;D4:E5:16; fixed-address 10.0.0.66;}
+   host workstation17 {hardware ethernet A1:B2:C3;D4:E5:17; fixed-address 10.0.0.67;}
+   host workstation18 {hardware ethernet A1:B2:C3;D4:E5:18; fixed-address 10.0.0.68;}
+   host workstation19 {hardware ethernet A1:B2:C3;D4:E5:19; fixed-address 10.0.0.69;}
+   host workstation20 {hardware ethernet A1:B2:C3;D4:E5:20; fixed-address 10.0.0.70;}
+   host workstation21 {hardware ethernet A1:B2:C3;D4:E5:21; fixed-address 10.0.0.71;}
+   host workstation22 {hardware ethernet A1:B2:C3;D4:E5:22; fixed-address 10.0.0.72;}
+   host workstation23 {hardware ethernet A1:B2:C3;D4:E5:23; fixed-address 10.0.0.73;}
+   host workstation24 {hardware ethernet A1:B2:C3;D4:E5:24; fixed-address 10.0.0.74;}
+   host workstation25 {hardware ethernet A1:B2:C3;D4:E5:25; fixed-address 10.0.0.75;}
+   host workstation26 {hardware ethernet A1:B2:C3;D4:E5:26; fixed-address 10.0.0.76;}
+   host workstation27 {hardware ethernet A1:B2:C3;D4:E5:27; fixed-address 10.0.0.77;}
+   host workstation28 {hardware ethernet A1:B2:C3;D4:E5:28; fixed-address 10.0.0.78;}
+   host workstation29 {hardware ethernet A1:B2:C3;D4:E5:29; fixed-address 10.0.0.79;}
+   host workstation30 {hardware ethernet A1:B2:C3;D4:E5:30; fixed-address 10.0.0.80;}
+   host workstation31 {hardware ethernet A1:B2:C3;D4:E5:31; fixed-address 10.0.0.81;}
+   host workstation32 {hardware ethernet A1:B2:C3;D4:E5:32; fixed-address 10.0.0.82;}
+   host workstation33 {hardware ethernet A1:B2:C3;D4:E5:33; fixed-address 10.0.0.83;}
+   host workstation34 {hardware ethernet A1:B2:C3;D4:E5:34; fixed-address 10.0.0.84;}
+   host workstation35 {hardware ethernet A1:B2:C3;D4:E5:35; fixed-address 10.0.0.85;}
+   host workstation36 {hardware ethernet A1:B2:C3;D4:E5:36; fixed-address 10.0.0.86;}
+   host workstation37 {hardware ethernet A1:B2:C3;D4:E5:37; fixed-address 10.0.0.87;}
+   host workstation38 {hardware ethernet A1:B2:C3;D4:E5:38; fixed-address 10.0.0.88;}
+   host workstation39 {hardware ethernet A1:B2:C3;D4:E5:39; fixed-address 10.0.0.89;}
+   host workstation40 {hardware ethernet A1:B2:C3;D4:E5:40; fixed-address 10.0.0.90;}
+   host workstation41 {hardware ethernet A1:B2:C3;D4:E5:41; fixed-address 10.0.0.91;}
+   host workstation42 {hardware ethernet A1:B2:C3;D4:E5:42; fixed-address 10.0.0.92;}
+   host workstation43 {hardware ethernet A1:B2:C3;D4:E5:43; fixed-address 10.0.0.93;}
+   host workstation44 {hardware ethernet A1:B2:C3;D4:E5:44; fixed-address 10.0.0.94;}
+   host workstation45 {hardware ethernet A1:B2:C3;D4:E5:45; fixed-address 10.0.0.95;}
+   host workstation46 {hardware ethernet A1:B2:C3;D4:E5:46; fixed-address 10.0.0.96;}
+   host workstation47 {hardware ethernet A1:B2:C3;D4:E5:47; fixed-address 10.0.0.97;}
+   host workstation48 {hardware ethernet A1:B2:C3;D4:E5:48; fixed-address 10.0.0.98;}
+   host workstation49 {hardware ethernet A1:B2:C3;D4:E5:49; fixed-address 10.0.0.99;}
+   host workstation50 {hardware ethernet A1:B2:C3;D4:E5:50; fixed-address 10.0.0.100;}
+   host workstation51 {hardware ethernet A1:B2:C3;D4:E5:51; fixed-address 10.0.0.101;}
+   host workstation52 {hardware ethernet A1:B2:C3;D4:E5:52; fixed-address 10.0.0.102;}
+   host workstation53 {hardware ethernet A1:B2:C3;D4:E5:53; fixed-address 10.0.0.103;}
+   host workstation54 {hardware ethernet A1:B2:C3;D4:E5:54; fixed-address 10.0.0.104;}
+   host workstation55 {hardware ethernet A1:B2:C3;D4:E5:55; fixed-address 10.0.0.105;}
+   host workstation56 {hardware ethernet A1:B2:C3;D4:E5:56; fixed-address 10.0.0.106;}
+   host workstation57 {hardware ethernet A1:B2:C3;D4:E5:57; fixed-address 10.0.0.107;}
+   host workstation58 {hardware ethernet A1:B2:C3;D4:E5:58; fixed-address 10.0.0.108;}
+   host workstation59 {hardware ethernet A1:B2:C3;D4:E5:59; fixed-address 10.0.0.109;}
+   host workstation60 {hardware ethernet A1:B2:C3;D4:E5:60; fixed-address 10.0.0.110;}
+   host workstation61 {hardware ethernet A1:B2:C3;D4:E5:61; fixed-address 10.0.0.111;}
+   host workstation62 {hardware ethernet A1:B2:C3;D4:E5:62; fixed-address 10.0.0.112;}
+   host workstation63 {hardware ethernet A1:B2:C3;D4:E5:63; fixed-address 10.0.0.113;}
+   host workstation64 {hardware ethernet A1:B2:C3;D4:E5:64; fixed-address 10.0.0.114;}
+   host workstation65 {hardware ethernet A1:B2:C3;D4:E5:65; fixed-address 10.0.0.115;}
+   host workstation66 {hardware ethernet A1:B2:C3;D4:E5:66; fixed-address 10.0.0.116;}
+   host workstation67 {hardware ethernet A1:B2:C3;D4:E5:67; fixed-address 10.0.0.117;}
+   host workstation68 {hardware ethernet A1:B2:C3;D4:E5:68; fixed-address 10.0.0.118;}
+   host workstation69 {hardware ethernet A1:B2:C3;D4:E5:69; fixed-address 10.0.0.119;}
+   host workstation70 {hardware ethernet A1:B2:C3;D4:E5:70; fixed-address 10.0.0.120;}
+   host workstation71 {hardware ethernet A1:B2:C3;D4:E5:71; fixed-address 10.0.0.121;}
+   host workstation72 {hardware ethernet A1:B2:C3;D4:E5:72; fixed-address 10.0.0.122;}
+   host workstation73 {hardware ethernet A1:B2:C3;D4:E5:73; fixed-address 10.0.0.123;}
+   host workstation74 {hardware ethernet A1:B2:C3;D4:E5:74; fixed-address 10.0.0.124;}
+   host workstation75 {hardware ethernet A1:B2:C3;D4:E5:75; fixed-address 10.0.0.125;}
+   host workstation76 {hardware ethernet A1:B2:C3;D4:E5:76; fixed-address 10.0.0.126;}
+   host workstation77 {hardware ethernet A1:B2:C3;D4:E5:77; fixed-address 10.0.0.127;}
+   host workstation78 {hardware ethernet A1:B2:C3;D4:E5:78; fixed-address 10.0.0.128;}
+   host workstation79 {hardware ethernet A1:B2:C3;D4:E5:79; fixed-address 10.0.0.129;}
+   host workstation80 {hardware ethernet A1:B2:C3;D4:E5:80; fixed-address 10.0.0.130;}
+   host workstation81 {hardware ethernet A1:B2:C3;D4:E5:81; fixed-address 10.0.0.131;}
+   host workstation82 {hardware ethernet A1:B2:C3;D4:E5:82; fixed-address 10.0.0.132;}
+   host workstation83 {hardware ethernet A1:B2:C3;D4:E5:83; fixed-address 10.0.0.133;}
+   host workstation84 {hardware ethernet A1:B2:C3;D4:E5:84; fixed-address 10.0.0.134;}
+   host workstation85 {hardware ethernet A1:B2:C3;D4:E5:85; fixed-address 10.0.0.135;}
+   host workstation86 {hardware ethernet A1:B2:C3;D4:E5:86; fixed-address 10.0.0.136;}
+   host workstation87 {hardware ethernet A1:B2:C3;D4:E5:87; fixed-address 10.0.0.137;}
+   host workstation88 {hardware ethernet A1:B2:C3;D4:E5:88; fixed-address 10.0.0.138;}
+   host workstation89 {hardware ethernet A1:B2:C3;D4:E5:89; fixed-address 10.0.0.139;}
+   host workstation90 {hardware ethernet A1:B2:C3;D4:E5:90; fixed-address 10.0.0.140;}
+   host workstation91 {hardware ethernet A1:B2:C3;D4:E5:91; fixed-address 10.0.0.141;}
+   host workstation92 {hardware ethernet A1:B2:C3;D4:E5:92; fixed-address 10.0.0.142;}
+   host workstation93 {hardware ethernet A1:B2:C3;D4:E5:93; fixed-address 10.0.0.143;}
+   host workstation94 {hardware ethernet A1:B2:C3;D4:E5:94; fixed-address 10.0.0.144;}
+   host workstation95 {hardware ethernet A1:B2:C3;D4:E5:95; fixed-address 10.0.0.145;}
+   host workstation96 {hardware ethernet A1:B2:C3;D4:E5:96; fixed-address 10.0.0.146;}
+   host workstation97 {hardware ethernet A1:B2:C3;D4:E5:97; fixed-address 10.0.0.147;}
+   host workstation98 {hardware ethernet A1:B2:C3;D4:E5:98; fixed-address 10.0.0.148;}
+   host workstation99 {hardware ethernet A1:B2:C3;D4:E5:99; fixed-address 10.0.0.149;}
+
+   host diskless00 {hardware ethernet A1:B2:C3;D4:E5:00; fixed-address 10.0.0.150;}
+   host diskless01 {hardware ethernet A1:B2:C3;D4:E5:01; fixed-address 10.0.0.151;}
+   host diskless02 {hardware ethernet A1:B2:C3;D4:E5:02; fixed-address 10.0.0.152;}
+   host diskless03 {hardware ethernet A1:B2:C3;D4:E5:03; fixed-address 10.0.0.153;}
+   host diskless04 {hardware ethernet A1:B2:C3;D4:E5:04; fixed-address 10.0.0.154;}
+   host diskless05 {hardware ethernet A1:B2:C3;D4:E5:05; fixed-address 10.0.0.155;}
+   host diskless06 {hardware ethernet A1:B2:C3;D4:E5:06; fixed-address 10.0.0.156;}
+   host diskless07 {hardware ethernet A1:B2:C3;D4:E5:07; fixed-address 10.0.0.157;}
+   host diskless08 {hardware ethernet A1:B2:C3;D4:E5:08; fixed-address 10.0.0.158;}
+   host diskless09 {hardware ethernet A1:B2:C3;D4:E5:09; fixed-address 10.0.0.159;}
+   host diskless10 {hardware ethernet A1:B2:C3;D4:E5:10; fixed-address 10.0.0.160;}
+   host diskless11 {hardware ethernet A1:B2:C3;D4:E5:11; fixed-address 10.0.0.161;}
+   host diskless12 {hardware ethernet A1:B2:C3;D4:E5:12; fixed-address 10.0.0.162;}
+   host diskless13 {hardware ethernet A1:B2:C3;D4:E5:13; fixed-address 10.0.0.163;}
+   host diskless14 {hardware ethernet A1:B2:C3;D4:E5:14; fixed-address 10.0.0.164;}
+   host diskless15 {hardware ethernet A1:B2:C3;D4:E5:15; fixed-address 10.0.0.165;}
+   host diskless16 {hardware ethernet A1:B2:C3;D4:E5:16; fixed-address 10.0.0.166;}
+   host diskless17 {hardware ethernet A1:B2:C3;D4:E5:17; fixed-address 10.0.0.167;}
+   host diskless18 {hardware ethernet A1:B2:C3;D4:E5:18; fixed-address 10.0.0.168;}
+   host diskless19 {hardware ethernet A1:B2:C3;D4:E5:19; fixed-address 10.0.0.169;}
+   host diskless20 {hardware ethernet A1:B2:C3;D4:E5:20; fixed-address 10.0.0.170;}
+   host diskless21 {hardware ethernet A1:B2:C3;D4:E5:21; fixed-address 10.0.0.171;}
+   host diskless22 {hardware ethernet A1:B2:C3;D4:E5:22; fixed-address 10.0.0.172;}
+   host diskless23 {hardware ethernet A1:B2:C3;D4:E5:23; fixed-address 10.0.0.173;}
+   host diskless24 {hardware ethernet A1:B2:C3;D4:E5:24; fixed-address 10.0.0.174;}
+   host diskless25 {hardware ethernet A1:B2:C3;D4:E5:25; fixed-address 10.0.0.175;}
+   host diskless26 {hardware ethernet A1:B2:C3;D4:E5:26; fixed-address 10.0.0.176;}
+   host diskless27 {hardware ethernet A1:B2:C3;D4:E5:27; fixed-address 10.0.0.177;}
+   host diskless28 {hardware ethernet A1:B2:C3;D4:E5:28; fixed-address 10.0.0.178;}
+   host diskless29 {hardware ethernet A1:B2:C3;D4:E5:29; fixed-address 10.0.0.179;}
+   host diskless30 {hardware ethernet A1:B2:C3;D4:E5:30; fixed-address 10.0.0.180;}
+   host diskless31 {hardware ethernet A1:B2:C3;D4:E5:31; fixed-address 10.0.0.181;}
+   host diskless32 {hardware ethernet A1:B2:C3;D4:E5:32; fixed-address 10.0.0.182;}
+   host diskless33 {hardware ethernet A1:B2:C3;D4:E5:33; fixed-address 10.0.0.183;}
+   host diskless34 {hardware ethernet A1:B2:C3;D4:E5:34; fixed-address 10.0.0.184;}
+   host diskless35 {hardware ethernet A1:B2:C3;D4:E5:35; fixed-address 10.0.0.185;}
+   host diskless36 {hardware ethernet A1:B2:C3;D4:E5:36; fixed-address 10.0.0.186;}
+   host diskless37 {hardware ethernet A1:B2:C3;D4:E5:37; fixed-address 10.0.0.187;}
+   host diskless38 {hardware ethernet A1:B2:C3;D4:E5:38; fixed-address 10.0.0.188;}
+   host diskless39 {hardware ethernet A1:B2:C3;D4:E5:39; fixed-address 10.0.0.189;}
+   host diskless40 {hardware ethernet A1:B2:C3;D4:E5:40; fixed-address 10.0.0.190;}
+   host diskless41 {hardware ethernet A1:B2:C3;D4:E5:41; fixed-address 10.0.0.191;}
+   host diskless42 {hardware ethernet A1:B2:C3;D4:E5:42; fixed-address 10.0.0.192;}
+   host diskless43 {hardware ethernet A1:B2:C3;D4:E5:43; fixed-address 10.0.0.193;}
+   host diskless44 {hardware ethernet A1:B2:C3;D4:E5:44; fixed-address 10.0.0.194;}
+   host diskless45 {hardware ethernet A1:B2:C3;D4:E5:45; fixed-address 10.0.0.195;}
+   host diskless46 {hardware ethernet A1:B2:C3;D4:E5:46; fixed-address 10.0.0.196;}
+   host diskless47 {hardware ethernet A1:B2:C3;D4:E5:47; fixed-address 10.0.0.197;}
+   host diskless48 {hardware ethernet A1:B2:C3;D4:E5:48; fixed-address 10.0.0.198;}
+   host diskless49 {hardware ethernet A1:B2:C3;D4:E5:49; fixed-address 10.0.0.199;}
+   host diskless50 {hardware ethernet A1:B2:C3;D4:E5:50; fixed-address 10.0.0.200;}
+   host diskless51 {hardware ethernet A1:B2:C3;D4:E5:51; fixed-address 10.0.0.201;}
+   host diskless52 {hardware ethernet A1:B2:C3;D4:E5:52; fixed-address 10.0.0.202;}
+   host diskless53 {hardware ethernet A1:B2:C3;D4:E5:53; fixed-address 10.0.0.203;}
+   host diskless54 {hardware ethernet A1:B2:C3;D4:E5:54; fixed-address 10.0.0.204;}
+   host diskless55 {hardware ethernet A1:B2:C3;D4:E5:55; fixed-address 10.0.0.205;}
+   host diskless56 {hardware ethernet A1:B2:C3;D4:E5:56; fixed-address 10.0.0.206;}
+   host diskless57 {hardware ethernet A1:B2:C3;D4:E5:57; fixed-address 10.0.0.207;}
+   host diskless58 {hardware ethernet A1:B2:C3;D4:E5:58; fixed-address 10.0.0.208;}
+   host diskless59 {hardware ethernet A1:B2:C3;D4:E5:59; fixed-address 10.0.0.209;}
+   host diskless60 {hardware ethernet A1:B2:C3;D4:E5:60; fixed-address 10.0.0.210;}
+   host diskless61 {hardware ethernet A1:B2:C3;D4:E5:61; fixed-address 10.0.0.211;}
+   host diskless62 {hardware ethernet A1:B2:C3;D4:E5:62; fixed-address 10.0.0.212;}
+   host diskless63 {hardware ethernet A1:B2:C3;D4:E5:63; fixed-address 10.0.0.213;}
+   host diskless64 {hardware ethernet A1:B2:C3;D4:E5:64; fixed-address 10.0.0.214;}
+   host diskless65 {hardware ethernet A1:B2:C3;D4:E5:65; fixed-address 10.0.0.215;}
+   host diskless66 {hardware ethernet A1:B2:C3;D4:E5:66; fixed-address 10.0.0.216;}
+   host diskless67 {hardware ethernet A1:B2:C3;D4:E5:67; fixed-address 10.0.0.217;}
+   host diskless68 {hardware ethernet A1:B2:C3;D4:E5:68; fixed-address 10.0.0.218;}
+   host diskless69 {hardware ethernet A1:B2:C3;D4:E5:69; fixed-address 10.0.0.219;}
+   host diskless70 {hardware ethernet A1:B2:C3;D4:E5:70; fixed-address 10.0.0.220;}
+   host diskless71 {hardware ethernet A1:B2:C3;D4:E5:71; fixed-address 10.0.0.221;}
+   host diskless72 {hardware ethernet A1:B2:C3;D4:E5:72; fixed-address 10.0.0.222;}
+   host diskless73 {hardware ethernet A1:B2:C3;D4:E5:73; fixed-address 10.0.0.223;}
+   host diskless74 {hardware ethernet A1:B2:C3;D4:E5:74; fixed-address 10.0.0.224;}
+   host diskless75 {hardware ethernet A1:B2:C3;D4:E5:75; fixed-address 10.0.0.225;}
+   host diskless76 {hardware ethernet A1:B2:C3;D4:E5:76; fixed-address 10.0.0.226;}
+   host diskless77 {hardware ethernet A1:B2:C3;D4:E5:77; fixed-address 10.0.0.227;}
+   host diskless78 {hardware ethernet A1:B2:C3;D4:E5:78; fixed-address 10.0.0.228;}
+   host diskless79 {hardware ethernet A1:B2:C3;D4:E5:79; fixed-address 10.0.0.229;}
+   host diskless80 {hardware ethernet A1:B2:C3;D4:E5:80; fixed-address 10.0.0.230;}
+   host diskless81 {hardware ethernet A1:B2:C3;D4:E5:81; fixed-address 10.0.0.231;}
+   host diskless82 {hardware ethernet A1:B2:C3;D4:E5:82; fixed-address 10.0.0.232;}
+   host diskless83 {hardware ethernet A1:B2:C3;D4:E5:83; fixed-address 10.0.0.233;}
+   host diskless84 {hardware ethernet A1:B2:C3;D4:E5:84; fixed-address 10.0.0.234;}
+   host diskless85 {hardware ethernet A1:B2:C3;D4:E5:85; fixed-address 10.0.0.235;}
+   host diskless86 {hardware ethernet A1:B2:C3;D4:E5:86; fixed-address 10.0.0.236;}
+   host diskless87 {hardware ethernet A1:B2:C3;D4:E5:87; fixed-address 10.0.0.237;}
+   host diskless88 {hardware ethernet A1:B2:C3;D4:E5:88; fixed-address 10.0.0.238;}
+   host diskless89 {hardware ethernet A1:B2:C3;D4:E5:89; fixed-address 10.0.0.239;}
+   host diskless90 {hardware ethernet A1:B2:C3;D4:E5:90; fixed-address 10.0.0.240;}
+   host diskless91 {hardware ethernet A1:B2:C3;D4:E5:91; fixed-address 10.0.0.241;}
+   host diskless92 {hardware ethernet A1:B2:C3;D4:E5:92; fixed-address 10.0.0.242;}
+   host diskless93 {hardware ethernet A1:B2:C3;D4:E5:93; fixed-address 10.0.0.243;}
+   host diskless94 {hardware ethernet A1:B2:C3;D4:E5:94; fixed-address 10.0.0.244;}
+   host diskless95 {hardware ethernet A1:B2:C3;D4:E5:95; fixed-address 10.0.0.245;}
+   host diskless96 {hardware ethernet A1:B2:C3;D4:E5:96; fixed-address 10.0.0.246;}
+   host diskless97 {hardware ethernet A1:B2:C3;D4:E5:97; fixed-address 10.0.0.247;}
+   host diskless98 {hardware ethernet A1:B2:C3;D4:E5:98; fixed-address 10.0.0.248;}
+   host diskless99 {hardware ethernet A1:B2:C3;D4:E5:99; fixed-address 10.0.0.249;}
 }
 
 # generate more lines with:
-# perl -e 'for (1..25) {printf "host atom%02s {hardware ethernet XXX:$_;fixed-address atom%02s;}\n",$_,$_;}'
-# replace 1:2:3:4:5:XX with the hardware addresses of your clients
+# perl -e 'for (0..100) {printf "host workstation%02s {hardware ethernet A1:B2:C3;D4:E5:%02s; fixed-address 10.0.0.%02s;}\n",$_,$_,$_+50;}'
+# perl -e 'for (0..100) {printf "host diskless%02s {hardware ethernet A1:B2:C3;D4:E5:%02s; fixed-address 10.0.0.%02s;}\n",$_,$_,$_+150;}'
+# replace  A1:B2:C3;D4:E5:XX with the hardware addresses of your clients
 
diff --git a/fai/config/files/etc/rc.local/FAISERVER b/fai/config/files/etc/rc.local/FAISERVER
index 9c16759..b6be3a9 100755
--- a/fai/config/files/etc/rc.local/FAISERVER
+++ b/fai/config/files/etc/rc.local/FAISERVER
@@ -5,6 +5,8 @@ set -e
 ## Setup script run at boot time.
 ## Removed after successful execution. 
 
+echo
+echo "======================================================="
 echo "The nfsroot for FAI may be created by $0 at boot time. "
 echo "To enable, remove the line marked in $0. " 
 # Remove to enable: 
diff --git a/fai/config/files/usr/sbin/nbdswapd/SWAP_SERVER b/fai/config/files/usr/sbin/nbdswapd/SWAP_SERVER
new file mode 100755
index 0000000..5dbce89
--- /dev/null
+++ b/fai/config/files/usr/sbin/nbdswapd/SWAP_SERVER
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+#  Inspired by nbdswapd from the ltsp-server package.
+
+## swap file and size (in MB):
+SWAP=$(mktemp)
+SIZE=$"128"
+
+## create swap file:
+dd if=/dev/zero of=$SWAP bs=1024k count=0 seek=$SIZE 2> /dev/null
+/sbin/mkswap $SWAP > /dev/null 2>&1
+
+## start nbd-server:
+PATH=/usr/bin:/bin:$PATH nbd-server 0 $SWAP -C /dev/null > /dev/null 2>&1
+
+## remove swap file:
+rm -f $SWAP
diff --git a/fai/config/package_config/DISKLESS b/fai/config/package_config/DISKLESS
index 189365c..526c847 100644
--- a/fai/config/package_config/DISKLESS
+++ b/fai/config/package_config/DISKLESS
@@ -1,6 +1,5 @@
 PACKAGES aptitude
-## FIXME: needed because the pxe kernel is 486 
-linux-image-486
+nbd-client
 
 lxde
 lxtask
diff --git a/fai/config/package_config/LDAP_CLIENT b/fai/config/package_config/SWAP_SERVER
similarity index 50%
copy from fai/config/package_config/LDAP_CLIENT
copy to fai/config/package_config/SWAP_SERVER
index 3881287..c1eaa8d 100644
--- a/fai/config/package_config/LDAP_CLIENT
+++ b/fai/config/package_config/SWAP_SERVER
@@ -1,4 +1,4 @@
-## Only list packages that are essential for the LDAP_CLIENT class.
+## Only list packages that are essential for the SWAP_SERVER class.
 ## Put all setup-dependent packages in the SETUP_* class.
 PACKAGES aptitude
-libnss-ldapd
+nbd-server
diff --git a/fai/config/scripts/SWAP_SERVER/10-setup b/fai/config/scripts/SWAP_SERVER/10-setup
new file mode 100755
index 0000000..c87352a
--- /dev/null
+++ b/fai/config/scripts/SWAP_SERVER/10-setup
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+fcopy -m root,root,755 /usr/sbin/nbdswapd
+
+$ROOTCMD update-inetd --add "9572 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdswapd"
+
+ainsl $target/etc/hosts.allow "nbdswapd: ALL: keepalive"

-- 
Debian-LAN development and packaging



More information about the debian-lan-devel mailing list