Change host_attr to receive vm_credentials instead of cs_credentials