0

Running CentOS 7 and in need to do some network related commands when suspended and resumed by the VMWare.

Thus far all the solutions I have seen, is connected to pm-utils. But nothing appears to work - no specific log files, creating scripts under sleep.d seem to be not triggered.

The stupidest solution I have right now is to have a cron job/daemon to stash timestamp and trigger actions when period is over a certain threshold.

  • Did you install open-vm-tools in the guest? also related: github.com/vmware/open-vm-tools/issues/273 – A.B Dec 21 '18 at 15:00
  • Since open-vm-tools did not perform very well (e.g. resizing full screen, clipboard copy-paste) I manually installed the tools by mounting the install directory that is supplied by the VMware application. – arapEST Dec 27 '18 at 8:42
  • kb.vmware.com/s/article/2073803 : "VMware recommends using open-vm-tools redistributed by operating system vendors.". Also if this wasn't clear, these opensource tools are made (upstream) by VMware. – A.B Dec 27 '18 at 9:34
  • So you suggest that I should install open-vm-tools and the pm starts to work? – arapEST Dec 31 '18 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.