OneGet / NanoServerPackage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to download the nano server package on new nano server

Parth6288 opened this issue · comments

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.