This is so close to being correct too. VMware virtual network devices are never named eth0 though. Generally our VPS use the interface ens160, but I've also seen ens192 depending on the version of VMware that the server is running. The best way to be sure of the interface device is to run the command ip addr