File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/virtual-machines/linux Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,14 +96,14 @@ Image Builder will use the [user-identity](../../active-directory/managed-identi
96
96
97
97
``` console
98
98
# create user assigned identity for image builder to access the storage account where the script is located
99
- idenityName =aibBuiUserId$(date +'%s')
100
- az identity create -g $imageResourceGroup -n $idenityName
99
+ identityName =aibBuiUserId$(date +'%s')
100
+ az identity create -g $imageResourceGroup -n $identityName
101
101
102
102
# get identity id
103
- imgBuilderCliId=$(az identity show -g $sigResourceGroup -n $identityName --query clientId -o tsv)
103
+ imgBuilderCliId=$(az identity show -g $imageResourceGroup -n $identityName --query clientId -o tsv)
104
104
105
105
# get the user identity URI, needed for the template
106
- imgBuilderId=/subscriptions/$subscriptionID/resourcegroups/$imageResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$idenityName
106
+ imgBuilderId=/subscriptions/$subscriptionID/resourcegroups/$imageResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$identityName
107
107
108
108
# download preconfigured role definition example
109
109
curl https://raw.githubusercontent.com/azure/azvmimagebuilder/master/solutions/12_Creating_AIB_Security_Roles/aibRoleImageCreation.json -o aibRoleImageCreation.json
You can’t perform that action at this time.
0 commit comments