mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-27 00:19:42 -05:00
18 lines
379 B
Plaintext
18 lines
379 B
Plaintext
|
{#
|
||
|
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||
|
|
||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||
|
#}
|
||
|
|
||
|
{% if grains['nodename'] != 'dom0' -%}
|
||
|
|
||
|
"{{ slsdotpath }}-rc.local":
|
||
|
file.append:
|
||
|
- name: /rw/config/rc.local
|
||
|
- text: |
|
||
|
usermod -aG docker user
|
||
|
systemctl unmask docker
|
||
|
systemctl --no-block restart docker
|
||
|
|
||
|
{% endif -%}
|