New Question
0

unable to download the nano server package on new nano server

asked May 8 '17

Parth Gandhi gravatar image

Hi , I just installed our first nano server on our openstack compute node (hypervisor- KVM) and set the proxy of the nano server using the below code:

$proxy = 'myproxy' $port = myportno $regKey='HKLM:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' Set-ItemProperty -path $regKey ProxyEnable -value 1 -ErrorAction Stop Set-ItemProperty -path $regKey ProxyServer -value "${Proxy}:${Port}" -ErrorAction Stop

However when i run install-packageprovider nanoserverpackage, it gives me an error related to internet connection. WARNING: Unable to download the list of available providers. Check your internet connection i had to download the package on a local machine - copy it to nano using Copy-item and then install it. Is there a way to connect to the proxy from nano server - download -install?

Thanks.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered May 8 '17

avladu gravatar image

Hello,

I do not have any other information than what's currently available on a Google search:

https://social.technet.microsoft.com/...

https://github.com/PowerShell/xNetwor...

And the PS code above does not have a meaning on Nano, as there is no IE feature/application available for nano.

I will get back with some more information on this topic, as there might be some equivalent to the IE setting.

Thank you,
Adrian Vladu

Preview: (hide)
link

Comments

Thanks @avaladu. I did check the above two links before. I am also looking out on the solution.

Parth Gandhi gravatar imageParth Gandhi (May 8 '17)

You can do like this: https://paste.ubuntu.com/24536721

avladu gravatar imageavladu (May 8 '17)

The resource seems to be delete or does not exist.

Parth Gandhi gravatar imageParth Gandhi (May 9 '17)

You need to make sure the modified code above works without the proxy and then try to use the proxy field.

avladu gravatar imageavladu (May 9 '17)

@parth: The paste link was improperly formatted by the portal/CMS. Try removing the '/<\/p/>' from the end. This link should work: `https://paste.ubuntu.com/24536721`

awestin1 gravatar imageawestin1 (May 9 '17)

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: May 8 '17

Seen: 940 times

Last updated: May 08 '17