From 6e5850cdfce11cc6c9c5420e50077aba90e27e28 Mon Sep 17 00:00:00 2001 From: dangen Date: Wed, 16 Feb 2022 17:59:29 +0900 Subject: [PATCH 1/4] Update README.md `VAR_DIR` (undeclared) => `HOST_VAR_DIR` --- sources/api/bootstrap-containers/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/api/bootstrap-containers/README.md b/sources/api/bootstrap-containers/README.md index 59e6a93a9a2..b3358381665 100644 --- a/sources/api/bootstrap-containers/README.md +++ b/sources/api/bootstrap-containers/README.md @@ -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: @@ -74,4 +74,4 @@ journalctl -u bootstrap-containers@bear.service ## Colophon -This text was generated using [cargo-readme](https://crates.io/crates/cargo-readme), and includes the rustdoc from `src/main.rs`. \ No newline at end of file +This text was generated using [cargo-readme](https://crates.io/crates/cargo-readme), and includes the rustdoc from `src/main.rs`. From ab5316d532f92578a6922ace47fb1dd5bab8a94e Mon Sep 17 00:00:00 2001 From: dangen Date: Thu, 24 Feb 2022 15:09:37 +0900 Subject: [PATCH 2/4] Update README.md --- sources/api/bootstrap-containers/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/api/bootstrap-containers/README.md b/sources/api/bootstrap-containers/README.md index b3358381665..7840b6c478f 100644 --- a/sources/api/bootstrap-containers/README.md +++ b/sources/api/bootstrap-containers/README.md @@ -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=$HOST_VAR_DIR/lib/my_directory +MY_HOST_DIR=$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: From 18617aeeb665f53cfd431456679e0819bdf610b8 Mon Sep 17 00:00:00 2001 From: dangen Date: Thu, 24 Feb 2022 15:09:55 +0900 Subject: [PATCH 3/4] Update main.rs --- sources/api/bootstrap-containers/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/api/bootstrap-containers/src/main.rs b/sources/api/bootstrap-containers/src/main.rs index 75c7b848f42..71304f2a14c 100644 --- a/sources/api/bootstrap-containers/src/main.rs +++ b/sources/api/bootstrap-containers/src/main.rs @@ -41,7 +41,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: From f26f16651848d451e9d3f1cfd220160c1a9fc559 Mon Sep 17 00:00:00 2001 From: dangen Date: Fri, 25 Feb 2022 15:48:03 +0900 Subject: [PATCH 4/4] Update README.md --- sources/api/bootstrap-containers/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/api/bootstrap-containers/README.md b/sources/api/bootstrap-containers/README.md index 7840b6c478f..b3358381665 100644 --- a/sources/api/bootstrap-containers/README.md +++ b/sources/api/bootstrap-containers/README.md @@ -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: