systemctl needs sudo too!

This commit is contained in:
Thomas Hobson 2021-01-28 13:50:15 +13:00
parent 15857f1c0a
commit 4e60ab080b
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 2 additions and 2 deletions

View File

@ -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