close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 9 and Version 10 of LtspServerUpdate


Ignore:
Timestamp:
Apr 30, 2012, 3:43:11 PM (15 years ago)
Author:
Rüdiger Kupper
Comment:

Neues nbd-conf-Layout

Legend:

Unmodified
Added
Removed
Modified
  • LtspServerUpdate

    v9 v10  
    4343Die Konfiguration des //Network-Block-Device-Servers// (nbd-server) wird beim Update des LTSP-Paketes möglicherweise überschrieben. Über NBD werden die Images der LtspClients verteilt.
    4444
    45 Die Konfigurationsdatei sollte bei einem Aufruf von `ltsp-update-image` automatisch richtig neu erzeugt werden. Falls nicht: Die Konfiguration steht im Verzeichnis `/etc/nbd-server/`. Dort müssen die Client-Images als NBD-Devices eingetragen werden. Die Konfiguration sieht typischerweise so aus:
     45//Die Konfigurationsdatei sollte bei einem Aufruf von `ltsp-update-image` automatisch richtig neu erzeugt werden.//
     46
     47Falls nicht: Die Konfiguration steht im Verzeichnis `/etc/nbd-server/`. Sie besteht aus dem geneerischen Teil in `config` und dem Image-spezifischen Teil unter `config.d/`. Dort müssen die Client-Images als NBD-Devices eingetragen werden. Die Konfiguration sieht typischerweise so aus:
    4648
    4749`/etc/nbd-server/config`:
    4850{{{
    4951[generic]
    50 user = nobody
    51 group = nogroup
    52 oldstyle = false
     52# If you want to run everything as root rather than the nbd user, you
     53# may either say "root" in the two following lines, or remove them
     54# altogether. Do not remove the [generic] section, however.
     55        user = nbd
     56        group = nbd
     57        includedir = /etc/nbd-server/conf.d
    5358
     59# What follows are export definitions. You may create as much of them as
     60# you want, but the section header has to be unique.
     61}}}
     62
     63`/etc/nbd-server/conf.d/ltsp_i386.conf`:
     64{{{
    5465[ltsp_i386]
    5566exportname = /opt/ltsp/images/i386.img
    5667readonly = true
    5768}}}
    58 
    5969
    6070==== Inet-Daemon ====