Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/aio-aksedge-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"SchemaVersion": "1.15",
"SchemaVersion": "1.16",
"Version": "1.0",
"DeploymentType": "SingleMachineCluster",
"AioDeploy": false,
"Init": {
"ServiceIPRangeSize": 10
},
Expand Down
3 changes: 2 additions & 1 deletion tools/aksedge-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"SchemaVersion": "1.15",
"SchemaVersion": "1.16",
"Version": "1.0",
"DeploymentType": "SingleMachineCluster",
"AioDeploy": false,
"Init": {
"ServiceIPRangeSize": 10,
"KmsPlugin":{
Expand Down
7 changes: 3 additions & 4 deletions tools/modules/AksEdgeDeploy/AksEdgeDeploy.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ function UpgradeJsonFormat {
$endip = $edgeCfg.Network.ServiceIPRangeEnd
$newEdgeConfig.Init.ServiceIPRangeSize = ($endip.Split(".")[3]) - ($startip.Split(".")[3])
}
#adding AioDeploy flag
$newEdgeConfig.AioDeploy = $true
#arc section
$newEdgeConfig | Add-Member -MemberType NoteProperty -Name 'Arc' -Value $arcdata -Force
#network section
Expand Down Expand Up @@ -914,10 +916,7 @@ function Invoke-AideDeployment {
Write-Verbose "$aksedgeDeployParams"
Write-Host "Starting AksEdge VM deployment..."
$retval = New-AksEdgeDeployment -JsonConfigString $aksedgeDeployParams

if ($retval -ieq "Azure Arc parameters not set or invalid") {
$retval = "OK"
}

if ($retval -ieq "OK") {
Write-Host "* AksEdge VM deployment successfull." -ForegroundColor Green
} else {
Expand Down