Make reset of ssh key code conditional on being vm