Add a small section about fetching the archive files directly when jails are
created. Submitted by: Albert Dengg Reviewed by: bcr@ Event: Vienna Hackathon 2019 Differential Revision: https://reviews.freebsd.org/D20557
This commit is contained in:
parent
a94633e68b
commit
382b49fb55
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53124
1 changed files with 12 additions and 3 deletions
|
@ -214,7 +214,16 @@
|
|||
<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>http://ftp.freebsd.org/pub/</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
|
||||
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue