diff --git a/bin/pdm-launch b/bin/pdm-launch index baf9cf2..818678c 100755 --- a/bin/pdm-launch +++ b/bin/pdm-launch @@ -39,10 +39,10 @@ else fi if [[ $FLAGS_config == $FLAGS_TRUE ]]; then - echo "Getting deploy options from image metadata label \"$FLAGS_deployopts\" ..." - deployopts=$(podman image inspect -f "{{ .Config.Labels.${FLAGS_deployopts} }}" $image) + echo "Getting deploy options from image metadata label \"$FLAGS_label\" ..." + deployopts=$(podman image inspect -f "{{ .Config.Labels.${FLAGS_label} }}" $image) if [[ $deployopts == "" ]]; then - echo "Error: image metadata label \"$FLAGS_deployopts\" is empty or nonexistent." + echo "Error: image metadata label \"$FLAGS_label\" is empty or nonexistent." exit 2 fi else @@ -53,5 +53,6 @@ if [[ $FLAGS_overwrite ]]; then podman rm -i -f $name fi -podman run -itd --name $name --hostname $name --userns=keep-id $deployopts $image +podman run -itd --name $name --hostname $name $deployopts $image +# --userns=keep-id echo "Done!" diff --git a/src/debian/assets/bash.bashrc b/src/debian/assets/bash.bashrc index c666730..ceaa0f3 100644 --- a/src/debian/assets/bash.bashrc +++ b/src/debian/assets/bash.bashrc @@ -83,4 +83,3 @@ fi alias dir='ls -lFAh' alias rsyn='rsync -vaSH' -alias sudo='sudo -S'