Skip to content

Commit

Permalink
clean up and open script layout
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeiland committed Feb 19, 2024
1 parent 61bc58f commit e265047
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/amlhpc_simple.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ echo "export SUBSCRIPTION=
'''

var setupscript_2 = concat(setupscript_1, subscription().subscriptionId)
var setupscript = concat(setupscript_2, ' > /etc/profile.d/amlhpc.sh')
var setupscript = concat(setupscript_2, '" > /etc/profile.d/amlhpc.sh')

resource amlLoginVM 'Microsoft.MachineLearningServices/workspaces/computes@2023-06-01-preview' = {
parent: workspace
Expand Down
4 changes: 2 additions & 2 deletions deploy/amlhpc_simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.24.24.22086",
"templateHash": "7123645993392324437"
"templateHash": "5692508469912961211"
}
},
"parameters": {
Expand Down Expand Up @@ -33,7 +33,7 @@
"subnetClusterId": "[resourceId('Microsoft.Network/virtualNetworks/subnets', variables('virtualNetworkName'), 'cluster')]",
"setupscript_1": "pip install amlhpc \n#echo \"export SUBSCRIPTION=${subscription().subscriptionId}\" > /etc/profile.d/amlhpc.sh\necho \"export SUBSCRIPTION=\n",
"setupscript_2": "[concat(variables('setupscript_1'), subscription().subscriptionId)]",
"setupscript": "[concat(variables('setupscript_2'), ' > /etc/profile.d/amlhpc.sh')]"
"setupscript": "[concat(variables('setupscript_2'), '\" > /etc/profile.d/amlhpc.sh')]"
},
"resources": [
{
Expand Down

0 comments on commit e265047

Please sign in to comment.