Skip to content

Deduplicate github actions #3

Deduplicate github actions

Deduplicate github actions #3

Workflow file for this run

name: Install lxd
runs:
using: "composite"
steps:
- name: Install lxd snap
run: |
sudo snap refresh lxd --channel 5.21/stable
- name: Initialize lxd
run:
sudo lxd init --auto
sudo usermod --append --groups lxd $USER
sg lxd -c 'lxc version'
- name: Apply Docker iptables workaround
run:
sudo iptables -I DOCKER-USER -i lxdbr0 -j ACCEPT
sudo iptables -I DOCKER-USER -o lxdbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT