Added jumpbox and chnaged post-install to local_script.

This commit is contained in:
Cormac Garvey 2020-04-07 18:05:40 -05:00
Родитель 42ceed385f
Коммит 44daf81d9e
1 изменённых файлов: 16 добавлений и 6 удалений

Просмотреть файл

@ -1,11 +1,10 @@
{ {
"location": "variables.location", "location": "variables.location",
"resource_group": "variables.resource_group", "resource_group": "variables.resource_group",
"install_from": "headnode", "install_from": "jumpbox",
"admin_user": "variables.ad_admin", "admin_user": "variables.ad_admin",
"variables": { "variables": {
"image": "OpenLogic:CentOS:7.6:latest", "image": "OpenLogic:CentOS:7.7:latest",
"hpc_image": "OpenLogic:CentOS-HPC:7.6:latest",
"location": "westeurope", "location": "westeurope",
"resource_group": "ad_demo", "resource_group": "ad_demo",
"vnet_resource_group": "variables.resource_group", "vnet_resource_group": "variables.resource_group",
@ -25,6 +24,14 @@
} }
}, },
"resources": { "resources": {
"jumpbox": {
"type": "vm",
"public_ip": "true",
"vm_type": "Standard_D4_v3",
"image": "variables.image",
"subnet": "admin",
"tags": []
},
"adnode": { "adnode": {
"type": "vm", "type": "vm",
"public_ip": "true", "public_ip": "true",
@ -35,7 +42,9 @@
"tags": [] "tags": []
} }
}, },
"post_install": { "install": [
{
"type": "local_script",
"script": "setup_win_ad.sh", "script": "setup_win_ad.sh",
"args": [ "args": [
"variables.resource_group", "variables.resource_group",
@ -43,6 +52,7 @@
"variables.ad_domain", "variables.ad_domain",
"variables.ad_admin", "variables.ad_admin",
"variables.win_password" "variables.win_password"
] ]
} }
]
} }