Add user to libvirt group by default

This commit is contained in:
2023-12-03 12:54:33 -05:00
parent eee0dff28c
commit 73213dfac1
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ fi
grub-mkconfig -o /boot/grub/grub.cfg
# account setup
useradd -m -g users -G uucp "$username"
groupadd libvirt
useradd -m -g users -G uucp,libvirt "$username"
echo "$userpassword
$userpassword
" | passwd "$username"