From 4e60ab080b5b6d70737a5204091d150806675d35 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Thu, 28 Jan 2021 13:50:15 +1300 Subject: [PATCH] systemctl needs sudo too! --- .github/workflows/lxc-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lxc-build.yml b/.github/workflows/lxc-build.yml index 6b0d1ec..80b32fe 100644 --- a/.github/workflows/lxc-build.yml +++ b/.github/workflows/lxc-build.yml @@ -29,11 +29,11 @@ jobs: echo "lxc.net.0.flags = up" >> default.conf sudo rm /etc/lxc/default.conf sudo cp default.conf /etc/lxc - systemctl start lxc-net + sudo systemctl start lxc-net # build container - name: Build Artifact - run: packer build -var 'make_threads=32' piston.pkr.hcl + run: packer build -var 'make_threads=32' -var 'apt_mirror=http://azure.archive.ubuntu.com/ubuntu' piston.pkr.hcl working-directory: container - name: Rename config