src upgrading jails (no ezjail, no "service" jails)
Greg Larkin
glarkin at FreeBSD.org
Wed Jun 1 13:12:05 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/31/11 11:00 PM, Aleksandr Miroslav wrote:
> I have 4 jails that are running 8.2-RELEASE that I would like to upgrade.
>
> The host system, which was also running 8.2-RELEASE, has been
> successfully upgraded to 8.2-p2. I have /usr/src ready with the new
> world and new kernel.
>
> I did not create the jails using ezjails, so I cannot use that utility
> to upgrade it.
>
> I did not create the jails using the "template" method described in
> Handbook (section 15.6.1.2), so the method recommended to upgrade
> them, i.e.:
>
> http://www.freebsd.org/doc/handbook/jails-application.html#JAILS-SERVICE-JAILS-UPGRADING
>
> would not work for me.
>
> What is the proper way for me to upgrade these jails?
>
> thanks,
> Alex
Hi Alex,
You can do this:
cd /usr/src
make installworld DESTDIR=<jaildir1>
make distribution DESTDIR=<jaildir1>
...
...
make installworld DESTDIR=<jaildirN>
make distribution DESTDIR=<jaildirN>
Then restart your jails.
Regards,
Greg
- --
Greg Larkin
http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/ - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3mOp0ACgkQ0sRouByUApAvyQCfYDh/dwd5/PB2zElwPuz1NC+D
I8kAoJ+tS9UaQqMDHmxophZ8F+dBuMuI
=eiBQ
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list