Skip to content

Can't access requirements.cgroup: v1 lxc container images #126676

Closed Answered by kenhys
kenhys asked this question in Actions
Discussion options

You must be logged in to vote

I've overlooked the following articles.

So, if you using runs-on: ubuntu-20.04 as a runner, you should switch remote image server for cgroup v1 image.

 - uses: canonical/setup-lxd@v0.1.1
 - name: Update image server
   run: |
       lxc remote remove images
       lxc remote add images https://images.lxd.canonical.com --protocol=simplestreams

On ubuntu-22.04 or later, it seems that already remote image server was switched to images.lxd.canonical.com by default.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kenhys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Actions Build, test, and automate your deployment pipeline with world-class CI/CD
1 participant