1
0
forked from mir/linux-vm-tools

Merge pull request #33 from jterry75/18.04_release_fixes

Update the script for 18.04 release clean install
This commit is contained in:
Justin 2018-05-10 15:03:52 -07:00 committed by GitHub
commit 994991cf30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -11,7 +11,7 @@
# Update our machine to the latest code if we need to. # Update our machine to the latest code if we need to.
# #
if [ ! $(id -u) ] ; then if [ $(id -u) -ne 0 ] ; then
echo 'This script must be run with root privileges' >&2 echo 'This script must be run with root privileges' >&2
exit 1 exit 1
fi fi

View File

@ -11,7 +11,7 @@
# Update our machine to the latest code if we need to. # Update our machine to the latest code if we need to.
# #
if [ ! $(id -u) ] ; then if [ $(id -u) -ne 0 ] ; then
echo 'This script must be run with root privileges' >&2 echo 'This script must be run with root privileges' >&2
exit 1 exit 1
fi fi
@ -64,11 +64,6 @@ sed -i -e 's/FuseMountName=thinclient_drives/FuseMountName=shared-drives/g' /etc
# Changed the allowed_users # Changed the allowed_users
sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
# Enable the hv_sock module
rmmod vmw_vsock_vmci_transport
rmmod vsock
modprobe hv_sock
# Blacklist the vmw module # Blacklist the vmw module
if [ ! -e /etc/modprobe.d/blacklist_vmw_vsock_vmci_transport.conf ] ; then if [ ! -e /etc/modprobe.d/blacklist_vmw_vsock_vmci_transport.conf ] ; then
cat >> /etc/modprobe.d/blacklist_vmw_vsock_vmci_transport.conf <<EOF cat >> /etc/modprobe.d/blacklist_vmw_vsock_vmci_transport.conf <<EOF