summarylogtreecommitdiffstats
path: root/vmware-workstation.install
blob: e7d170c5b5811fff297bd3b994ae0a3c4e4039b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
post_install() {
  cat << EOF

==> Before using VMware, you need to reboot or load vmw_vmci and vmmon kernel modules (in a terminal on root: modprobe -a vmw_vmci vmmon)
==> You may also need to enable some of the following services:
- vmware-networks: to have network access inside VMs
- vmware-usbarbitrator: to connect USB devices inside VMs
- vmware-hostd: to share VMs on the network
These services can be activated during boot by enabling .service units or only when a VM is started by enabling .path units (except for vmware-hostd).

EOF
}

post_upgrade() {
  if (( $(vercmp "$2" "11.1.4-16") < 0 )); then
  cat << EOF

Now vmware-networks and vmware-usbarbitrator services can be activated only when a VM is started by enabling .path units instead of .service units.

EOF
  fi
}

post_remove() {
  cat << EOF

==> To remove VMware settings, delete /etc/vmware and /etc/vmware-installer directories.

EOF
}