diff --git a/test/includes/lxd.sh b/test/includes/lxd.sh index dca759e52a60..7daad19356ec 100644 --- a/test/includes/lxd.sh +++ b/test/includes/lxd.sh @@ -32,6 +32,9 @@ spawn_lxd() { echo "==> Spawning lxd in ${lxddir}" # shellcheck disable=SC2086 + # Set ulimit to ensure core dump is outputted. + ulimit -c unlimited + if [ "${LXD_NETNS}" = "" ]; then LXD_DIR="${lxddir}" lxd --logfile "${lxddir}/lxd.log" "${DEBUG-}" "$@" 2>&1 & else