diff --git a/oci-import.sh b/oci-import.sh index 2694534..1d037b9 100755 --- a/oci-import.sh +++ b/oci-import.sh @@ -34,6 +34,7 @@ nspawn_config=/etc/systemd/nspawn/$hostname.nspawn cat << end > "$nspawn_config" [Exec] ProcessTwo=true +PrivateUsers=false end for environment in $(jq --compact-output '.process.env' "$oci_config" | sed "s/[][]//g;s/\"//g;s/,/ /g") @@ -87,4 +88,4 @@ fi cat << end Start/Enable with systemd-nspawn@$hostname.service $hostname created from $source -end \ No newline at end of file +end