Skip to content

Commit

Permalink
bin/helpers: unconditionally enable debug logging in install_lxd()
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Nov 26, 2024
1 parent 2464c5d commit 28943e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/helpers
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ install_lxd() (
mount --bind "${LXD_AGENT_SIDELOAD_PATH}" /snap/lxd/current/bin/lxd-agent
fi

# Enable debug logging if not done already
[ "$(snap get lxd daemon.debug 2>/dev/null)" = "true" ] || snap set lxd daemon.debug=true

if [ "$start_daemon" = "true" ]; then
lxd waitready --timeout=300
fi
Expand Down

0 comments on commit 28943e6

Please sign in to comment.