mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
systemctl needs sudo too!
This commit is contained in:
parent
15857f1c0a
commit
4e60ab080b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/lxc-build.yml
vendored
4
.github/workflows/lxc-build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue