Add a tip on setting ezjail to download packages using HTTP rather than

FTP.  The content from the bug report was rewritten.

PR:		208941
Submitted by:	Dan Bright <freebsd@zaziork.com>
This commit is contained in:
Warren Block 2016-04-21 01:56:43 +00:00
parent 2b83997d73
commit c19559c1fe
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48693

View file

@ -1121,6 +1121,22 @@ Created clone interfaces: lo1.</screen>
jail. <filename>/var/ports</filename> inside each jail is
also used as a work directory when building ports.</para>
</tip>
<tip>
<para>The <acronym>FTP</acronym> protocol is used by default
to download packages for the installation of the basejail.
Firewall or proxy configurations can prevent or interfere
with <acronym>FTP</acronym> transfers. The
<acronym>HTTP</acronym> protocol works differently and
avoids these problems. It can be chosen by specifying a
full <acronym>URL</acronym> for a particular download mirror
in <filename>/usr/local/etc/ezjail.conf</filename>:</para>
<programlisting>ezjail_ftphost=http://<replaceable>ftp.FreeBSD.org</replaceable></programlisting>
<para>See <xref linkend="mirrors-ftp"/> for a list of
sites.</para>
</tip>
</sect2>
<sect2 xml:id="jails-ezjail-create">