[ezjail] Download base system via HTTP instead of FTP?

japoc

Active Member

Reaction score: 1
Messages: 102

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 8,918
Messages: 33,312

See ezjail.conf(5):
Code:
     ezjail_ftphost (str)
	     This is where the install subcommand defaults to fetch its	pack-
	     ages from.
	     Default: ftp.freebsd.org.
Not sure if you can use HTTP though, looking at the configuration it looks like it always wants to use FTP.
 
OP
J

japoc

Active Member

Reaction score: 1
Messages: 102

Thanks for the reply! Yes, this makes clear that a FTP server is expected. So I guess, I'll use FTP.
 

asteriskRoss

Well-Known Member

Reaction score: 150
Messages: 444

On my machines I install the sysutils/ezjail basejail using the FreeBSD installation files (on the installation media you may still have -- no need to download again) mounted in a directory using a file:// URL. It is possible to use the -h switch with the ezjail-admin install command to choose the protocol and location (passed to fetch(1)) without editing the configuration file should you wish. Have a look at the ezjail-admin(8)man page.
 
Top