Update oci-import.sh
This commit is contained in:
@@ -34,6 +34,7 @@ nspawn_config=/etc/systemd/nspawn/$hostname.nspawn
|
|||||||
cat << end > "$nspawn_config"
|
cat << end > "$nspawn_config"
|
||||||
[Exec]
|
[Exec]
|
||||||
ProcessTwo=true
|
ProcessTwo=true
|
||||||
|
PrivateUsers=false
|
||||||
end
|
end
|
||||||
|
|
||||||
for environment in $(jq --compact-output '.process.env' "$oci_config" | sed "s/[][]//g;s/\"//g;s/,/ /g")
|
for environment in $(jq --compact-output '.process.env' "$oci_config" | sed "s/[][]//g;s/\"//g;s/,/ /g")
|
||||||
|
|||||||
Reference in New Issue
Block a user