Minor modification on the vm template