summarylogtreecommitdiffstats
path: root/vmware-workstation.install
blob: 2de40c8bc07d86ea42a9b8cc6e8517ed6ddc4d2a (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" "15.5.7-4") < 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 completely clean VMware installation, you may have to manually delete /etc/vmware, /etc/vmware-installer and /usr/lib/vmware-installer directories if they still exist.

EOF
}