From 7884e19edb1f9c5a8f0e4b818e9f35a1581a1924 Mon Sep 17 00:00:00 2001 From: fenris Date: Thu, 9 Dec 2021 23:31:13 +0100 Subject: [PATCH] add group --- 1-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/1-setup.sh b/1-setup.sh index f2a3699..d78d3ae 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -78,11 +78,11 @@ echo -ne " " # determine processor type and install microcode if lscpu | grep -E "GenuineIntel"; then - print "Installing Intel microcode" + echo "Installing Intel microcode" pacman -S --noconfirm intel-ucode proc_ucode=intel-ucode.img elif lscpu | grep -E "AuthenticAMD"; then - print "Installing AMD microcode" + echo "Installing AMD microcode" pacman -S --noconfirm amd-ucode proc_ucode=amd-ucode.img fi @@ -109,6 +109,7 @@ echo -ne " ------------------------------------------------------------------------- " if [ $(whoami) = "root" ]; then + groupadd libvirt useradd -m -G wheel,libvirt -s /bin/bash $username # use chpasswd to enter $username:$password echo "$username:$password" | chpasswd