Skip to content

Commit

Permalink
github: use canonical/setup-lxd action in image-setup (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomponline authored Dec 1, 2024
2 parents 65833b1 + ea31bff commit 0a72186
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/actions/image-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 0a72186

Please sign in to comment.