Error: The 'default' profile cannot be deleted

Easiest way to reset it is by pushing an empty profile in its place:

printf 'config: {}\ndevices: {}' | lxc profile edit default
2 Likes