Skip to content

Commit 66e60ae

Browse files
authored
Merge pull request #1686 from ioito/hotfix/qx-aliyun-vnc
fix(aliyun): vnc
2 parents 7413658 + 2eadfa8 commit 66e60ae

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/multicloud/aliyun/instance.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929
"yunion.io/x/pkg/util/billing"
3030
"yunion.io/x/pkg/util/imagetools"
3131
"yunion.io/x/pkg/util/osprofile"
32-
"yunion.io/x/pkg/util/seclib"
3332
"yunion.io/x/pkg/utils"
3433

3534
billing_api "yunion.io/x/cloudmux/pkg/apis/billing"
@@ -444,14 +443,8 @@ func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudpr
444443
if err != nil {
445444
return nil, err
446445
}
447-
passwd := seclib.RandomPassword(6)
448-
err = self.host.zone.region.ModifyInstanceVNCUrlPassword(self.InstanceId, passwd)
449-
if err != nil {
450-
return nil, err
451-
}
452446
ret := &cloudprovider.ServerVncOutput{
453447
Url: url,
454-
Password: passwd,
455448
Protocol: "aliyun",
456449
InstanceId: self.InstanceId,
457450
Hypervisor: api.HYPERVISOR_ALIYUN,

0 commit comments

Comments
 (0)