diff options
author | erdgeist <erdgeist@erdgeist.org> | 2011-03-14 01:31:14 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2011-03-14 01:31:14 +0000 |
commit | 283c672f391e73d0b83211f3763acfa13d6a6a41 (patch) | |
tree | 7c44e12ac5832238d477c275a19cd2d7c1e33bec /man8/ezjail-admin.8 | |
parent | b3c7e95edbe869118f9e5a9c2e9495712fa42ee0 (diff) |
Include experimental support for upgrading the basejail
Diffstat (limited to 'man8/ezjail-admin.8')
-rw-r--r-- | man8/ezjail-admin.8 | 27 |
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 |
61 | The | 61 | The |
62 | .Nm | 62 | .Nm |
@@ -535,6 +535,19 @@ uses | |||
535 | to determine the currently running system, the base jail and the host | 535 | to determine the currently running system, the base jail and the host |
536 | need to be updated at the same time, without rebooting on the new | 536 | need to be updated at the same time, without rebooting on the new |
537 | kernel in the meantime. | 537 | kernel in the meantime. |
538 | .It Fl U | ||
539 | Use | ||
540 | .Xr freebsd-update 8 | ||
541 | to upgrade the basejail to the hosts operating system version, or a version | ||
542 | you may pass freebsd-update's call to | ||
543 | .Dq uname -r | ||
544 | via the | ||
545 | .Pa UNAME_r | ||
546 | environment variable. Since there currently is no way of infering the | ||
547 | osversion currently installed in the basejail, you need to remember the | ||
548 | original osversion and pass it to this script using the | ||
549 | .Fl s | ||
550 | option. | ||
538 | .It Fl P | 551 | .It Fl P |
539 | Install only the ports tree, assuming the basejail has already been | 552 | Install only the ports tree, assuming the basejail has already been |
540 | created. This can be done while jails are running. The | 553 | created. This can be done while jails are running. The |
@@ -548,13 +561,19 @@ The following options are available: | |||
548 | Give the new basejail a copy of FreeBSD's ports tree. The | 561 | Give the new basejail a copy of FreeBSD's ports tree. The |
549 | .Xr portsnap 8 | 562 | .Xr portsnap 8 |
550 | utility is invoked to do the actual work. | 563 | utility is invoked to do the actual work. |
551 | .It Fl s Ar sourcedir | 564 | .It Fl s Ar sourcedir | sourceosversion |
552 | Use the sources in | 565 | In the |
566 | .Fl b No and Fl i No case: Use the sources in | ||
553 | .Ar sourcedir | 567 | .Ar sourcedir |
554 | instead of | 568 | instead of |
555 | .Pa /usr/src . | 569 | .Pa /usr/src . |
556 | Variable: | 570 | Variable: |
557 | .Dq Li $ezjail_sourcetree . | 571 | .Dq Li $ezjail_sourcetree . |
572 | .Pp | ||
573 | In the | ||
574 | .Fl U No case: Pass this release tag to | ||
575 | .Xr freebsd-update 8 | ||
576 | as the source OS version of the basejail. | ||
558 | .El | 577 | .El |
559 | .Pp | 578 | .Pp |
560 | See the | 579 | See the |