Skip to content

Commit

Permalink
Merge #2397
Browse files Browse the repository at this point in the history
2397: [ci] authenticate the root user before uninstalling on macOS r=townsend2010 a=Saviq



Co-authored-by: Michał Sawicz <[email protected]>
  • Loading branch information
bors[bot] and Saviq authored Feb 23, 2022
2 parents 9153da0 + 4b3efa2 commit 9056c2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ jobs:
[ $RC -eq 0 ] || _run sudo journalctl -u snap.multipass*
elif [ '${{ matrix.os }}' == 'macOS' ]; then
[ $RC -eq 0 ] || _run sudo cat /Library/Logs/Multipass/multipassd.log
# Authenticate the root user
_run sudo $MP set local.passphrase=foobar || true
_run sudo $MP authenticate foobar || true
( echo y; echo y ) | _run sudo PATH=/bin:/usr/local/bin /bin/sh "/Library/Application\\ Support/com.canonical.multipass/uninstall.sh" || true
_run sudo rm -rf /Library/Logs/Multipass
fi
Expand Down

0 comments on commit 9056c2c

Please sign in to comment.