svn commit: r53124 - head/en_US.ISO8859-1/books/handbook/jails

Benedict Reuschling bcr at
Sat Jun 8 15:02:11 UTC 2019

Author: bcr
Date: Sat Jun  8 15:02:10 2019
New Revision: 53124

  Add a small section about fetching the archive files directly when jails are
  Submitted by:		Albert Dengg
  Reviewed by:		bcr@
  Event:			Vienna Hackathon 2019
  Differential Revision:


Modified: head/en_US.ISO8859-1/books/handbook/jails/chapter.xml
--- head/en_US.ISO8859-1/books/handbook/jails/chapter.xml	Sat Jun  8 14:21:53 2019	(r53123)
+++ head/en_US.ISO8859-1/books/handbook/jails/chapter.xml	Sat Jun  8 15:02:10 2019	(r53124)
@@ -214,8 +214,17 @@
     <para>Mount the install media as covered in &man.mdconfig.8;
       when using the install ISO:</para>
-    <screen>&prompt.root; <userinput>mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt</userinput></screen>
+    <screen>&prompt.root; <userinput>mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt</userinput>
+&prompt.root; <userinput>cd /mnt/usr/freebsd-dist/</userinput></screen>
+    <para>Alternatively, download the tarballs from a mirror:</para>
+    <screen>&prompt.root; <userinput>sh</userinput>
+&prompt.root; <userinput>export DESTRELEASE=<replaceable>12.0-RELEASE</replaceable></userinput>
+&prompt.root; <userinput>export DESTARCH=<replaceable>`uname -m`</replaceable></userinput>
+&prompt.root; <userinput>export SOURCEURL=<replaceable></replaceable>FreeBSD/releases/$DESTARCH/$DESTRELEASE/</userinput>
+&prompt.root; <userinput>for set in base ports; do fetch $SOURCEURL/$set.txz ; done</userinput></screen>
     <para>Extract the binaries from the tarballs on the install media
       into the declared destination.  Minimally, only the base set
       needs to be extracted, but a complete install can be performed
@@ -223,11 +232,11 @@
     <para>To install just the base system:</para>
-    <screen>&prompt.root; <userinput>tar -xf /mnt/usr/freebsd-dist/base.txz -C $DESTDIR</userinput></screen>
+    <screen>&prompt.root; <userinput>tar -xf base.txz -C $DESTDIR</userinput></screen>
     <para>To install everything except the kernel:</para>
-    <screen>&prompt.root; <userinput>for set in base ports; do tar -xf /mnt/usr/freebsd-dist/$set.txz -C $DESTDIR ; done</userinput></screen>
+    <screen>&prompt.root; <userinput>for set in base ports; do tar -xf $set.txz -C $DESTDIR ; done</userinput></screen>
     <para>The &man.jail.8; manual page explains the procedure for
       building a jail:</para>

More information about the svn-doc-all mailing list