Set vmware group in config now
This commit is contained in:
parent
baedeee243
commit
1910bf79a7
@ -262,9 +262,14 @@ rm -rf ./PSipcalc
|
|||||||
mkdir -p ~/.config/GIMP/2.10/plug-ins/ || echo Not creating directory
|
mkdir -p ~/.config/GIMP/2.10/plug-ins/ || echo Not creating directory
|
||||||
rsync -ah ~/config/gimp-plugins/* ~/.config/GIMP/2.10/plug-ins/
|
rsync -ah ~/config/gimp-plugins/* ~/.config/GIMP/2.10/plug-ins/
|
||||||
|
|
||||||
# set systemd stuff for vmware (only if installed)
|
# set systemd and group for vmware (only if installed)
|
||||||
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
||||||
sudo systemctl enable --now vmware-networks-server.service
|
sudo systemctl enable --now vmware-networks-server.service
|
||||||
|
echo "Setting up group for vmware"
|
||||||
|
sudo groupadd -f vmware
|
||||||
|
sudo gpasswd -a "$USER" vmware 1>/dev/null
|
||||||
|
sudo chgpr vmware /dev/vmnet*
|
||||||
|
sudo chmod g+rw /dev/vmnet*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# add group for corectrl
|
# add group for corectrl
|
||||||
|
Loading…
Reference in New Issue
Block a user