diff --git a/.github/actions/image-setup/action.yml b/.github/actions/image-setup/action.yml index 2a588a0f..26020ccb 100644 --- a/.github/actions/image-setup/action.yml +++ b/.github/actions/image-setup/action.yml @@ -38,10 +38,6 @@ runs: lxd-imagebuilder --version - name: Setup LXD ${{ inputs.lxd-channel }} - shell: bash - run: | - sudo snap refresh lxd --channel=${{ inputs.lxd-channel }} || sudo snap install lxd --channel=${{ inputs.lxd-channel }} - sudo snap set lxd daemon.group=adm - sudo lxd waitready --timeout 60 - sudo lxd init --auto - lxc version + uses: canonical/setup-lxd@main + with: + channel: ${{ inputs.lxd-channel }}