Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2014 10:03:56 +0800
From:      Luzar <luzar722@gmail.com>
To:        Alberto Mijares <amijaresp@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Install package inside a no-networked jail from outside
Message-ID:  <547BCC8C.6010509@gmail.com>
In-Reply-To: <CAGZBXN98cGbLb%2BJ%2BhL7aKOYPFoHfYDAVJRBjzxZop_VT51-BCQ@mail.gmail.com>
References:  <CAGZBXN98cGbLb%2BJ%2BhL7aKOYPFoHfYDAVJRBjzxZop_VT51-BCQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alberto Mijares wrote:
> Hi list,
>
> I have a jail with no network configuration. I'd like to install
> packages from outside using pkg.
>
> I tried -c and -j options but they try to use the networking
> enviroment inside the jail, so it fails.
>
> Any idea?
>
> Thanks in advance,
>
>
> Alberto Mijares
>   

You have to provide greater details when posting.
This sentence is very vague."I'd like to install packages from outside 
using pkg"

Just what do you mean by "outside"? From the HOST??? What?.

You could aways host fetch the packages you want to install and put them 
in a directory inside of the jail directory tree
and them exec pkg pointing to location packages were fetched to, or if 
the packages you want are on the freebsd install disk1,
then exec pkg  command inside of jail pointing to install cd.

A jail without network is pretty much useless.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547BCC8C.6010509>