diff --git a/pkg/compute/guestdrivers/aliyun.go b/pkg/compute/guestdrivers/aliyun.go index 4f15cc0cf6..aeef133b15 100644 --- a/pkg/compute/guestdrivers/aliyun.go +++ b/pkg/compute/guestdrivers/aliyun.go @@ -329,7 +329,7 @@ func (self *SAliyunGuestDriver) RequestDeployGuestOnHost(ctx context.Context, gu name, _ := params.GetString("name") description, _ := params.GetString("description") publicKey, _ := config.GetString("public_key") - resetPassword := jsonutils.QueryBoolean(params, "reset_password", false) + // resetPassword := jsonutils.QueryBoolean(params, "reset_password", false) deleteKeypair := jsonutils.QueryBoolean(params, "__delete_keypair__", false) //password, _ := params.GetString("password") //if resetPassword && len(password) == 0 {