]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
libvirt: Fix the update script master
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Dec 2025 11:27:11 +0000 (11:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Dec 2025 11:27:11 +0000 (11:27 +0000)
I don't know why this all has to be copied like this, but the recent
changes from the install script should be applied here, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/paks/libvirt/update.sh

index ab57cbf627a473e507ee356920bab1f1d26766e0..c9e9dd54b5681413dc7d55a2d1fa04bf4b2d2d7b 100644 (file)
@@ -41,9 +41,9 @@ rm -f /etc/rc.d/rc*.d/*virtlogd
 #
 
 # creates a new user and group called libvirt-remote if they not exist
-getent group libvirt-remote >/dev/null || groupadd  libvirt-remote
+getent group libvirt-remote >/dev/null || groupadd -r libvirt-remote
 getent passwd libvirt-remote >/dev/null || \
-useradd -m -g libvirt-remote -s /bin/bash "libvirt-remote"
+       useradd -r -m -g libvirt-remote -s /bin/bash "libvirt-remote"
 
 extract_files