Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 15:50:23 +0100
From:      "Tonix (Antonio Nati)" <tonix@interazioni.it>
To:        freebsd-isp@freebsd.org
Subject:   Re: Jails creation
Message-ID:  <4AE708AF.4070705@interazioni.it>
In-Reply-To: <4AE706A0.8050409@unsane.co.uk>
References:  <4AE6C7BD.907@interazioni.it> <4AE6D302.9010100@unsane.co.uk> <4AE706A0.8050409@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Vincent,

I'm trying as much as possible to not install sources.
I'm designing a general architecture with very small machines, smallest  
as possible, as I'd love to avoid sources (both locals and remote).

Thanks,
Tonino

Vincent Hoffman ha scritto:
> Vincent Hoffman wrote:
>   
>> Tonix (Antonio Nati) wrote:
>>   
>>     
>>> Is there any architectural reason for which jails must be created only
>>> starting from sources?
>>> Would not it be simpler to create a jail cloning the host environment
>>> binaries (and then using the normal freebsd-update to keep it updated)?
>>> Would it be possible to suggest a funded project with this goal?
>>>
>>>     
>>>       
>> I dont tend to use jails but my understanding is that you can use the
>> standard install to create a jail (based on info from
>> http://pbraun.nethence.com/doc/sysutils_bsd/dragonfly-freebsd-jail.html)
>>
>> mkdir -p /var/jails/base
>> sysinstall
>> then,
>> sysinstall > Custom > Options > Install Root > /var/jails/base
>> sysinstall > Custom > Distributions > Minimal
>> sysinstall > Custom > Media > File System > /cdrom    (I just used ftp
>> myself, this meant i had to change the release from 7.2-RELEASE-p4 to
>> 7.2-RELEASE in options)
>> sysinstall > Custom > Commit
>> [Visit the general configuration menu ?] > No
>> Note. don't do the post-install, it would modify the host, not the guest.
>>
>> A quick
>> jail /var/jails/base footest 10.0.0.2 /bin/sh
>> gives me a shell in the jail so it seems to have worked, Time to add
>> devfs etc i guess.
>>
>> >From here i'm going to have a look at sysutils/ezjail as that keeps
>> coming up as a good way of managing jails, but I seem to have an working
>> base system in /var/jails/base without compiling anything. I might have
>> a play now and get updates etc working.
>>   
>>     
>
> Ok now I have played with sysutils/ezjail, forget the first part ;)
> just "ezjail-admin install" will do a binary install for a base jail
> from an ftp server.
> you can use "ezjail-admin update -u" to update the base jail using
> freebsd-update for some reason this isnt in the manpage.
> Not exactly what you have asked for but close enough if you dont like
> installing from source.
>
>
> Vince
>
>   
>> regards,
>> Vince
>>   
>>     
>>> Regards,
>>>
>>> Tonino
>>>
>>>     
>>>       
>> _______________________________________________
>> freebsd-isp@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
>>   
>>     
>
> _______________________________________________
> freebsd-isp@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
>
>   


-- 
------------------------------------------------------------
        Inter@zioni            Interazioni di Antonio Nati 
   http://www.interazioni.it      tonix@interazioni.it           
------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AE708AF.4070705>