Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
`VAR_DIR` (undeclared) => `HOST_VAR_DIR`
  • Loading branch information
effy-coding authored Feb 16, 2022
1 parent aeec3aa commit 6e5850c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/api/bootstrap-containers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ USER_DATA_DIR=/.bottlerocket/bootstrap-containers/current
# This is the in-container view of where the host's `/var` can be accessed.
HOST_VAR_DIR=/.bottlerocket/rootfs/var
# The directory that'll be created by this bootstrap container
MY_HOST_DIR=$VAR_DIR/lib/my_directory
MY_HOST_DIR=$HOST_VAR_DIR/lib/my_directory
# Create it!
mkdir -p "$MY_HOST_DIR"
# Write the user-data to stdout (to the journal) and to our new path:
Expand Down Expand Up @@ -74,4 +74,4 @@ journalctl -u [email protected]

## Colophon

This text was generated using [cargo-readme](https://crates.io/crates/cargo-readme), and includes the rustdoc from `src/main.rs`.
This text was generated using [cargo-readme](https://crates.io/crates/cargo-readme), and includes the rustdoc from `src/main.rs`.

0 comments on commit 6e5850c

Please sign in to comment.