iocage following stable?

Allan Jude allanjude at freebsd.org
Fri Dec 18 22:18:32 UTC 2015


On 2015-12-18 16:18, Michael Grimm wrote:
> Hi —
> 
> I am running ezjail for some years now, but I intend to migrate to iocage. Not that I am "disappointed" with ezjail, but I do want to give VNET a try.
> 
> After having read iocage's documentation and some google research, I am left with the following questions:
> 
> 1) Currently I am using ezjail's functionality to update/upgrade my basejail from svn following STABLE. I am unsure if I can stick to running STABLE in iocage jails, and if so, how? "iocage chroot" and compile in /usr/src?
> 

I don't know on this part

> 2) Is there an equivalent for "ezjail-admin console -e 'pkg upgrade -y -f' jailname", namely running commands inside a jail without entering it?

The generic jail command 'jexec' can work for this.

jexec <jailname or number> pkg upgrade -y -f

Also, pkg itself has native support for jails.

pkg upgrade -j <jailname> -y -f

> 
> Thanks in advance and with kind regards,
> Michael
>  
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
> 


-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20151218/ed41238d/attachment.sig>


More information about the freebsd-jail mailing list