New Question
0

Nano Openstack Build

asked 2016-06-02 19:02:36 +0300

tictoc gravatar image

updated 2016-06-02 19:04:21 +0300

Set path and Download

$cloudbaseInitZipPath = Join-Path $pwd CloudbaseInitSetupx64.zip Start-BitsTransfer -Source "https://www.cloudbase.it/downloads/CloudbaseInitSetupx64.zip" ` -Destination $cloudbaseInitZipPath

Install Cloudbase-Init and prepare the image for OpenStack:

$vhdxPath = "C:\VHDs\Nano.vhdx"

.\CloudbaseInitOfflineSetup.ps1 -VhdPath $vhdxPath -CloudbaseInitZipPath $cloudbaseInitZipPath

I get PS C:\cloudbase-init-offline-install> .\CloudbaseInitOfflineSetup.ps1 -VhdPath $vhdxPath -CloudbaseInitZipPath $cloudbaseInitZipPath C:\cloudbase-init-offline-install\CloudbaseInitOfflineSetup.ps1 : A parameter cannot be found that matches parameter name 'VhdPath'. At line:1 char:33 + .\CloudbaseInitOfflineSetup.ps1 -VhdPath $vhdxPath -CloudbaseInitZipP ... + ~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [CloudbaseInitOfflineSetup.ps1], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,CloudbaseInitOfflineSetup.ps1

Paths are correct and tested...

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2016-06-03 01:07:09 +0300

avladu gravatar image

The tutorial you have followed is outdated, as Nano Server is part of the Windows Server 2016 Technical Preview, and since then two newer versions TP4/TP5 appeared. Please follow the instructions from Github.

edit flag offensive delete link more
0

answered 2016-06-02 19:24:53 +0300

avladu gravatar image

Hello,

According to https://github.com/cloudbase/cloudbas... , you need to use NewNanoServerImage.ps1 to generate a Nano image. More information you can find here: https://cloudbase.it/hyper-c-part-2/

Thanks.

Adrian.

edit flag offensive delete link more

Comments

using instructions https://cloudbase.it/openstack-windows-nano-server/ I have built the VHDX file - Add the Cloudbase settings to the VHDX file the issue is when I run the .\CloudbaseInitOfflineSetup.ps1 -VhdPath $vhdxPath A parameter cannot be found that matches parameter name 'VhdPath'.

tictoc gravatar imagetictoc ( 2016-06-02 21:03:52 +0300 )edit

Your Answer

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

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2016-06-02 19:02:36 +0300

Seen: 144 times

Last updated: Jun 02 '16