cloudbase-init cannot get IE proxy
hello, I need to download some software behind proxy when launching the windows instance. I found cloudbase-init reported no proxy in cloudbase-init.log. Then I tried to launch another windows instance. I tried to get the proxy before the userdata was run and I got the proxy correctly. Then how can I solve this problem? Thanks a lot.
I added some write-host in my script to print the output of: Get-Itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' and the output is: @{IE5_UA_Backup_Flag=5.0; User Agent=Mozilla/4.0 (compatible; MSIE 8.0; Win32); EmailName=User@; PrivDiscUiShown=1; EnableHttp1_1=1; WarnOnIntranet=1; MimeExclusionListForCache=multipart/mixed multipart/x-mixed-replace multipart/x-byteranges ; AutoConfigProxy=wininet.dll; UseSchannelDirectly=System.Byte[]} but when the output when I ran it manually from powershell command prompt is: @{IE5_UA_Backup_Flag=5.0; User Agent=Mozilla/4.0 (compatible; MSIE 8.0; Win32); EmailName=User@; PrivDiscUiShown=1; Enab leHttp1_1=1; WarnOnIntranet=1; MimeExclusionListForCache=multipart/mixed multipart/x-mixed-replace multipart/x-byterange s ; AutoConfigProxy=wininet.dll; UseSchannelDirectly=System.Byte[]; WarnOnPost=System.Byte[]; UrlEncoding=0; SecureProto cols=160; PrivacyAdvanced=0; ZonesSecurityUpgrade=System.Byte[]; DisableCachingO