File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments