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 %}
|
{%- endfor %}
|
||||||
sleep 5
|
sleep 5
|
||||||
{%- for container in pillar['lxc'] %}
|
{%- for container in pillar['lxc'] %}
|
||||||
systemctl start lxc@{{container}}.service
|
lxc-start {{container}}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{%- set os=grains['os'] -%}
|
{%- set os=grains['os'] -%}
|
||||||
|
|
||||||
|
pacman-contrib:
|
||||||
|
pkg.installed
|
||||||
|
|
||||||
/root/scripts/getmirrors.sh:
|
/root/scripts/getmirrors.sh:
|
||||||
file.managed:
|
file.managed:
|
||||||
- makedirs: true
|
- makedirs: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue