Use lxc-start instead of systemd

This commit is contained in:
Beth Parker 2019-02-25 20:06:51 -06:00
parent 0054fc6941
commit 5c561db17a
2 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,6 @@ ls /{{dir}}/
{%- endfor %}
sleep 5
{%- for container in pillar['lxc'] %}
systemctl start lxc@{{container}}.service
lxc-start {{container}}
{%- endfor -%}
{%- endif -%}

View file

@ -1,5 +1,8 @@
{%- set os=grains['os'] -%}
pacman-contrib:
pkg.installed
/root/scripts/getmirrors.sh:
file.managed:
- makedirs: true