Step1:使用文本工具打开插件路径:
路径为:C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common\setuserpassword.py
Step2:查找open字段,找到对应with open (passfile,'rb') as myfile;
Step3:修改代码,把‘rb’变更为‘r’即可,即变更后为with open (passfile,'r') as myfile;
修改云主机windows密码不生效
猜你喜欢
转载自www.cnblogs.com/luo30zhao/p/10494481.html
今日推荐
周排行