feat: system setup + groups setup

This commit is contained in:
Bastien Riviere 2024-05-14 11:49:15 +02:00
parent ce5f8d958a
commit cd4b46af78
Signed by: babariviere
GPG key ID: 4E5F0839249F162E
5 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Add wheel members to docker, incus and libvirt groups
[Service]
Type=oneshot
ExecStart=/usr/libexec/azure-groups
Restart=on-failure
RestartSec=30
StartLimitInterval=0
[Install]
WantedBy=default.target

View file

@ -0,0 +1,12 @@
[Unit]
Description=Configure system
After=rpm-ostreed.service
Before=systemd-user-sessions.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/libexec/azure-system-setup
[Install]
WantedBy=multi-user.target