New Question
0

cloudbase-init cannot get IE proxy

asked 2015-06-02 18:35:47 +0200

celina-yang gravatar image

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.

edit retag flag offensive close merge delete

Comments

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

celina-yang gravatar imagecelina-yang ( 2015-06-02 19:45:08 +0200 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2015-06-02 20:50:55 +0200

alexpilotti gravatar image

Hi,

How is the IE proxy assigned to the instance?

edit flag offensive delete link more

Comments

this proxy is from the windows image. I tried to get the proxy manually from powershell command prompt before the script in userdata is run, I can get the proxy successfully.

celina-yang gravatar imagecelina-yang ( 2015-06-02 21:30:44 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-06-02 18:35:47 +0200

Seen: 629 times

Last updated: Jun 02 '15