Dura Zell <dura-zell(at)freenet.de> wrote:
> [...]
> Der Nachteil an dieser Methode ist allerdings das ich das Paket dennoch
> in jeder einzelnen jail haendig installieren muss.
Das kann man ja verskripten. Z.B. in sh-Syntax kann man
das -- grob skizziert -- etwa so machen:
JAILS="/jail/foo /jail/bar /jail/baz"
# (... oder aus Konfigurationsdatei lesen.)
for J in $JAILS; do
cp /tmp/pkg.tbz /tmp/dep1.tbz /tmp/dep2.tbz $J/tmp
jail $J `hostname` 127.1 /usr/sbin/pkg_add /tmp/pkg.tbz
done
Die Chroot-Pfade der Jails stehen dabei in $JAILS, und das
zu installierende Package (und alle evtl. erforderlichen
Dependencies) liegt in /tmp. Man muß natürlich noch ein
bißchen Skript drumherum basteln, aber im Prinzip ist das
nicht schwer.
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "The ITU has offered the IETF formal alignment with its corresponding technology, Penguins, but that won't fly." -- RFC 2549 To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Tue 24 May 2005 - 14:21:14 CEST