Use lxc-start instead of systemd
This commit is contained in:
parent
0054fc6941
commit
5c561db17a
2 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,6 @@ ls /{{dir}}/
|
|||
{%- endfor %}
|
||||
sleep 5
|
||||
{%- for container in pillar['lxc'] %}
|
||||
systemctl start lxc@{{container}}.service
|
||||
lxc-start {{container}}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{%- set os=grains['os'] -%}
|
||||
|
||||
pacman-contrib:
|
||||
pkg.installed
|
||||
|
||||
/root/scripts/getmirrors.sh:
|
||||
file.managed:
|
||||
- makedirs: true
|
||||
|
|
Loading…
Add table
Reference in a new issue