File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4444 LXC_CMD="incus"
4545 RUNNER_LABEL="ubuntu-20.04-arm64"
4646 else
47- LXC_CMD="lxc "
47+ LXC_CMD="incus "
4848 RUNNER_LABEL="ubuntu-20.04"
4949 fi
5050
@@ -69,15 +69,16 @@ jobs:
6969 ref : " ${{ env.VERSION }}"
7070 - name : Cleanup lxd
7171 run : test -z "$("$LXC" profile device show default | grep eth0)" || "$LXC" profile device remove default eth0
72- - uses : whywaita/setup-lxd@v1
73- if : ${{ needs.determine-runner.outputs.lxc_cmd == 'lxc' }}
72+ - uses : bdx0/action-incus@v1
7473 continue-on-error : true
7574 with :
7675 lxd_version : latest/stable
7776 - name : Fix LXD
7877 run : |
7978 sudo iptables -I DOCKER-USER -i lxdbr0 -j ACCEPT
8079 sudo iptables -I DOCKER-USER -o lxdbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
80+ sudo iptables -I DOCKER-USER -i incusbr0 -j ACCEPT
81+ sudo iptables -I DOCKER-USER -o incusbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
8182 - name : Build LXD image
8283 env :
8384 USE_INCUS : " ${{ needs.determine-runner.outputs.lxc_cmd == 'incus' && 'yes' || 'no' }}"
You can’t perform that action at this time.
0 commit comments