fix: add user to mock group

This commit is contained in:
Ben Grande 2024-01-05 11:07:27 +01:00
parent 41b71eed46
commit c1094046ee
3 changed files with 18 additions and 6 deletions

View File

@ -47,12 +47,10 @@ include:
- docker-buildx-plugin - docker-buildx-plugin
- docker-compose-plugin - docker-compose-plugin
"{{ slsdotpath }}-user-in-docker-group": "{{ slsdotpath }}-add-user-to-docker-group":
user.present: group.present:
- name: user - name: docker
- groups: - addusers:
- user - user
- qubes
- docker
{% endif -%} {% endif -%}

View File

@ -16,6 +16,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later
- install_recommends: False - install_recommends: False
- skip_suggestions: True - skip_suggestions: True
- pkgs: - pkgs:
- qubes-core-agent-networking
- qubes-core-agent-passwordless-root
- dnf-plugins-core - dnf-plugins-core
- createrepo_c - createrepo_c
- debootstrap - debootstrap
@ -36,4 +38,10 @@ SPDX-License-Identifier: AGPL-3.0-or-later
- reprepro - reprepro
- systemd-udev - systemd-udev
"{{ slsdotpath }}-qubes-executor-add-user-to-mock-group":
group.present:
- name: mock
- addusers:
- user
{% endif -%} {% endif -%}

View File

@ -62,4 +62,10 @@ include:
- rsync - rsync
- tree - tree
"{{ slsdotpath }}-add-user-to-mock-group":
group.present:
- name: mock
- addusers:
- user
{% endif -%} {% endif -%}