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...