nested lxd wip1

This commit is contained in:
pvincent
2024-02-26 22:57:41 +04:00
parent c874f2c180
commit 2bf8289238
5 changed files with 66 additions and 22 deletions
+3
View File
@@ -44,8 +44,11 @@ function _create() {
db-psql create "$longname"
echo "create empty database <$longname> ... OK"
#FIXME: load credential from data argument wth yq parsing!!!
credential_username=$(load_yaml_from_expanded credential.username)
credential_password=$(load_yaml_from_expanded credential.password)
cat <<EOF | lxc_exec "$container"
set -Eeuo pipefail
echo reloading systemd