зеркало из https://github.com/Azure/azurehpc.git
Added jumpbox with ANF mount block
This commit is contained in:
Родитель
773a4d840c
Коммит
0f3094921f
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"location": "variables.location",
|
||||
"resource_group": "variables.resource_group",
|
||||
"install_from": "jumpbox",
|
||||
"admin_user": "variables.admin_user",
|
||||
"variables": {
|
||||
"location": "<NOT-SET>",
|
||||
"resource_group": "<NOT-SET>",
|
||||
"vnet_resource_group": "variables.resource_group",
|
||||
"vnet_name": "hpcvnet",
|
||||
"admin_user": "hpcadmin",
|
||||
"image": "OpenLogic:CentOS:7.7:latest",
|
||||
"jb_vm_type": "Standard_D8s_v3"
|
||||
},
|
||||
"vnet": {
|
||||
"resource_group": "variables.vnet_resource_group",
|
||||
"name": "variables.vnet_name"
|
||||
},
|
||||
"resources": {
|
||||
"jumpbox": {
|
||||
"type": "vm",
|
||||
"vm_type": "variables.jb_vm_type",
|
||||
"accelerated_networking": true,
|
||||
"public_ip": true,
|
||||
"image": "variables.image",
|
||||
"subnet": "admin",
|
||||
"tags": [
|
||||
"jumpbox"
|
||||
]
|
||||
}
|
||||
},
|
||||
"install": [
|
||||
{
|
||||
"script": "disable-selinux.sh",
|
||||
"tag": "jumpbox",
|
||||
"sudo": true
|
||||
},
|
||||
{
|
||||
"script": "cndefault.sh",
|
||||
"tag": "jumpbox",
|
||||
"sudo": true
|
||||
},
|
||||
{
|
||||
"script": "auto_netappfiles_mount.sh",
|
||||
"tag": "jumpbox",
|
||||
"sudo": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -3,7 +3,7 @@ block_dir=$azhpc_dir/blocks
|
|||
AZHPC_CONFIG=config.json
|
||||
AZHPC_VARIABLES=variables.json
|
||||
|
||||
blocks="$block_dir/vnet.json $block_dir/anf.json $block_dir/jumpbox.json $block_dir/cycle-install-server-managed-identity.json $block_dir/cycle-cli-local.json $block_dir/cycle-cli-jumpbox.json $azhpc_dir/examples/cc_anf/slurmcycle.json"
|
||||
blocks="$block_dir/vnet.json $block_dir/anf.json $block_dir/jumpbox-anf.json $block_dir/cycle-install-server-managed-identity.json $block_dir/cycle-cli-local.json $block_dir/cycle-cli-jumpbox.json $azhpc_dir/examples/cc_anf/slurmcycle.json"
|
||||
|
||||
# Initialize config file
|
||||
echo "{}" >$AZHPC_CONFIG
|
||||
|
|
Загрузка…
Ссылка в новой задаче