diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-01-19 09:46:27 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-14 16:04:54 +0100 |
commit | eeeb56fbfc500a8f8ce0626bd74251912f641549 (patch) | |
tree | d019c5e850addab68b0c173bca63f81fb42cd099 | |
parent | ed6168434d726eb31819bda50601be2e8227b965 (diff) |
Fix: Add config dir inside containers
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r-- | examples/containers.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/containers.nix b/examples/containers.nix index 2c8fbd8d..814b64dc 100644 --- a/examples/containers.nix +++ b/examples/containers.nix @@ -88,6 +88,10 @@ in { ${pkgs.bash}/bin/bash ${user-setup}/bin/user-setup || exit 1 ${pkgs.bash}/bin/bash ${setupScript}/bin/setup-container || exit 1 + mkdir -p /etc/tedge + touch /etc/tedge/tedge.toml + mkdir /etc/tedge/sm-plugins + mkdir -p /run/lock ''; @@ -113,6 +117,10 @@ in { ${pkgs.bash}/bin/bash ${user-setup}/bin/user-setup || exit 1 ${pkgs.bash}/bin/bash ${setupScript}/bin/setup-container || exit 1 + mkdir -p /etc/tedge + touch /etc/tedge/tedge.toml + mkdir /etc/tedge/sm-plugins + mkdir -p /run/lock ''; |