![]() ![]() On my deploy commands for azure: $vmss = New-AzureRmVmssConfig -Location $loc -SkuCapacity 2 -SkuName "Standard_DS1_v2" -UpgradePolicyMode "manual" -ErrorAction StopĪdd-AzureRmVmssNetworkInterfaceConfiguration -VirtualMachineScaleSet $vmss -Name "vmssNetwork" -Primary $true -IPConfiguration $ipConfig New-AzureRmVmss : The URI. does not look to be correct blob URI. New-AzureRmImage -ImageName $imageName -ResourceGroupName $rgName -Image $imageConfigīut in this case the image that is created has no Source Blob URI: $imageConfig = Set-AzureRmImageOsDisk -Image $imageConfig -OsState Generalized -OsType Windows -SnapshotId $snapshot.Id $imageConfig = New-AzureRmImageConfig -Location $location $snapshot = Get-AzureRmSnapshot -ResourceGroupName $rgName -SnapshotName $snapshotName As the Set-AzureRmVmssStorageProfile only accepts images my first try was to convert the snapshot to an image by use: $rgName = #. ![]() I want to create a VM Scale set and use a snapshot as base for my windows VMs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |