Skip to content

Commit

Permalink
docs/install.md: minor tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Rothberg <[email protected]>
  • Loading branch information
vrothberg committed Nov 6, 2023
1 parent a94fd93 commit 2c34228
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ other options.
Here's an example:

```
$ podman run --privileged --pid=host --net=none --security-opt label=type:unconfined_t <image> bootc install --target-no-signature-verification /path/to/disk
$ podman run --privileged --pid=host --net=none -v /path/to/disk:/target-root --security-opt label=type:unconfined_t <image> bootc install --target-no-signature-verification /target-root
```

Note that while `--privileged` is used, this command will not
Expand All @@ -62,6 +62,9 @@ an installation by default is not fetching anything else external
from the network - the content to be installed
*is the running container image content*.

The `-v /path/to/disk:/target-root` is the target block device to install
`<image>` to.

### Operating system install configuration required

The container image must define its default install configuration. For example,
Expand Down Expand Up @@ -121,7 +124,7 @@ in the image - it is per machine state.

#### Injecting SSH keys in a container image

In this example, we will configure OpenSSH to read the
In the following example, we will configure OpenSSH to read the
set of authorized keys for the root user from content
that lives in `/usr` (i.e. is owned by the container image).
We will also create a `/usr/etc-system` directory which is intentionally distinct
Expand Down

0 comments on commit 2c34228

Please sign in to comment.