summaryrefslogtreecommitdiff
path: root/man8
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2011-03-14 01:31:14 +0000
committererdgeist <erdgeist@erdgeist.org>2011-03-14 01:31:14 +0000
commit283c672f391e73d0b83211f3763acfa13d6a6a41 (patch)
tree7c44e12ac5832238d477c275a19cd2d7c1e33bec /man8
parentb3c7e95edbe869118f9e5a9c2e9495712fa42ee0 (diff)
Include experimental support for upgrading the basejail
Diffstat (limited to 'man8')
-rw-r--r--man8/ezjail-admin.827
1 files changed, 23 insertions, 4 deletions
diff --git a/man8/ezjail-admin.8 b/man8/ezjail-admin.8
index 9af6866..250cd7e 100644
--- a/man8/ezjail-admin.8
+++ b/man8/ezjail-admin.8
@@ -54,9 +54,9 @@
54.Ar archive | jailname... 54.Ar archive | jailname...
55.Nm 55.Nm
56.Cm update 56.Cm update
57.Op Fl s Ar sourcetree 57.Op Fl s Ar sourcetree | sourceosversion
58.Op Fl p 58.Op Fl p
59.Fl b | Fl i | Fl P | Fl u 59.Fl b | Fl i | Fl P | Fl u | Fl U
60.Sh DESCRIPTION 60.Sh DESCRIPTION
61The 61The
62.Nm 62.Nm
@@ -535,6 +535,19 @@ uses
535to determine the currently running system, the base jail and the host 535to determine the currently running system, the base jail and the host
536need to be updated at the same time, without rebooting on the new 536need to be updated at the same time, without rebooting on the new
537kernel in the meantime. 537kernel in the meantime.
538.It Fl U
539Use
540.Xr freebsd-update 8
541to upgrade the basejail to the hosts operating system version, or a version
542you may pass freebsd-update's call to
543.Dq uname -r
544via the
545.Pa UNAME_r
546environment variable. Since there currently is no way of infering the
547osversion currently installed in the basejail, you need to remember the
548original osversion and pass it to this script using the
549.Fl s
550option.
538.It Fl P 551.It Fl P
539Install only the ports tree, assuming the basejail has already been 552Install only the ports tree, assuming the basejail has already been
540created. This can be done while jails are running. The 553created. This can be done while jails are running. The
@@ -548,13 +561,19 @@ The following options are available:
548Give the new basejail a copy of FreeBSD's ports tree. The 561Give the new basejail a copy of FreeBSD's ports tree. The
549.Xr portsnap 8 562.Xr portsnap 8
550utility is invoked to do the actual work. 563utility is invoked to do the actual work.
551.It Fl s Ar sourcedir 564.It Fl s Ar sourcedir | sourceosversion
552Use the sources in 565In the
566.Fl b No and Fl i No case: Use the sources in
553.Ar sourcedir 567.Ar sourcedir
554instead of 568instead of
555.Pa /usr/src . 569.Pa /usr/src .
556Variable: 570Variable:
557.Dq Li $ezjail_sourcetree . 571.Dq Li $ezjail_sourcetree .
572.Pp
573In the
574.Fl U No case: Pass this release tag to
575.Xr freebsd-update 8
576as the source OS version of the basejail.
558.El 577.El
559.Pp 578.Pp
560See the 579See the