-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'BastilleBSD:master' into multiple-interfaces
- Loading branch information
Showing
14 changed files
with
616 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
========= | ||
etcupdate | ||
========= | ||
|
||
This command will update the contents of `/etc` inside a jail. It should be run after a jail upgrade | ||
|
||
First we need to bootstrap a release for `etcupdate` to use. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille etcupdate bootstrap 14.1-RELEASE | ||
bastille_bootstrap_archives: base -> src | ||
/usr/local/bastille/cache/14.1-RELEASE/MANIFES 1046 B 1134 kBps 00s | ||
/usr/local/bastille/cache/14.1-RELEASE/src.txz 205 MB 2711 kBps 01m18s | ||
bastille_bootstrap_archives: src -> base | ||
Building tarball, please wait... | ||
Etcupdate bootstrap complete: 14.1-RELEASE | ||
Next we can use the `update` command to apply the update to the jail. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille etcupdate ishmael update 14.1-RELEASE | ||
The output will show you which files were added, updated, changed, deleted, or have conflicts. | ||
To automatically resolve the conflicts, run the `resolve` command. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille etcupdate ishmael resolve | ||
To show only the differences between the releases, use the `diff` command. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille etcupdate ishmael diff 14.1-RELEASE | ||
.. code-block:: shell | ||
ishmael ~ # bastille etcupdate help | ||
Usage: bastille etcupdate [option(s)] [bootstrap|TARGET] [diff|resolve|update RELEASE] | ||
Options: | ||
-d | --dry-run Show output, but do not apply. | ||
-f | --force Force a re-bootstrap of a RELEASE. | ||
-x | --debug Enable debug mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
======= | ||
upgrade | ||
======= | ||
|
||
The `upgrade` command targets a thick or thin jail. Thin jails will be updated by changing the | ||
release mount point that it is based on. Thick jails will be upgraded normally. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille upgrade help | ||
Usage: bastille upgrade [option(s)] TARGET [NEWRELEASE|install] | ||
Options: | ||
-a | --auto Auto mode. Start/stop jail(s) if required. | ||
-f | --force Force upgrade a jail. | ||
-x | --debug Enable debug mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.