systemctl needs sudo too!
This commit is contained in:
parent
15857f1c0a
commit
4e60ab080b
|
@ -29,11 +29,11 @@ jobs:
|
||||||
echo "lxc.net.0.flags = up" >> default.conf
|
echo "lxc.net.0.flags = up" >> default.conf
|
||||||
sudo rm /etc/lxc/default.conf
|
sudo rm /etc/lxc/default.conf
|
||||||
sudo cp default.conf /etc/lxc
|
sudo cp default.conf /etc/lxc
|
||||||
systemctl start lxc-net
|
sudo systemctl start lxc-net
|
||||||
|
|
||||||
# build container
|
# build container
|
||||||
- name: Build Artifact
|
- 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
|
working-directory: container
|
||||||
|
|
||||||
- name: Rename config
|
- name: Rename config
|
||||||
|
|
Loading…
Reference in New Issue