Skip to content

Commit

Permalink
Merge pull request #1314 from elfosardo/fix-gpasswd-execution
Browse files Browse the repository at this point in the history
Run gpasswd with sudo
  • Loading branch information
metal3-io-bot authored Nov 16, 2023
2 parents 450bed5 + a51e4c5 commit 56c66c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01_prepare_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fi
# Allow local non-root-user access to libvirt
if ! id "${USER}" | grep -q libvirt; then
sudo usermod -a -G "libvirt" "${USER}"
gpasswd -a "${USER}" libvirt
sudo gpasswd -a "${USER}" libvirt
fi

if [[ "${EPHEMERAL_CLUSTER}" = "minikube" ]]; then
Expand Down

0 comments on commit 56c66c8

Please sign in to comment.