Skip to content

Commit 169cd6f

Browse files
committed
Prevent any attempt at using askpass during management server startup
1 parent afc188c commit 169cd6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/vm/systemvm/injectkeys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ copy_priv_key() {
7171

7272
if [[ "$EUID" -ne 0 ]]
7373
then
74-
SUDO="sudo "
74+
SUDO="sudo -n "
7575
fi
7676

7777
$SUDO mkdir -p $MOUNTPATH

0 commit comments

Comments
 (0)