commit ca51511b8d8c2d0fabc9e2fb61b7c87d6eea9fda
parent 3579c7003876110c9953fcaeb5936890d24723c5
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Tue, 18 Jun 2019 18:51:02 +0200
Fix require argument syntax
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/zsh-functions/confz_adhoc_container_init b/zsh-functions/confz_adhoc_container_init
@@ -23,15 +23,15 @@ confz_adhoc_container_check() {
# Absolute path to what will be the root of the container (bind-mounted read-only)
require plain_file_content filename=$vars[service_dir]/env/CONTAINER_IMAGE \
- content:image_dir
+ content=$vars[image_dir]
# Hostname set inside the container
require plain_file_content filename=$vars[service_dir]/env/CONTAINER_HOST \
- content:hostname
+ content=$vars[hostname]
# Home directory of the user outside of the container
require plain_file_content filename=$vars[service_dir]/env/OWNER_HOME \
- content:owner_home
+ content=$vars[owner_home]
# UID of the user to run the container as
require plain_file_content filename=$vars[service_dir]/env/UID \