Skip to content

Commit eff5520

Browse files
authored
Update how-to-write-customization-file.md
Fix indentation issue
1 parent 74014dc commit eff5520

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/dev-box/how-to-write-customization-file.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ You can reference the secret in your YAML customization in the following format,
119119
```yml
120120
$schema: "1.0"
121121
tasks:
122-
name: git-clone
123-
description: Clone this repository into C:\Workspaces
124-
parameters:
125-
repositoryUrl: https://myazdo.visualstudio.com/MyProject/_git/myrepo
126-
directory: C:\Workspaces
127-
pat: '{{KEY_VAULT_SECRET_URI}}'
122+
- name: git-clone
123+
description: Clone this repository into C:\Workspaces
124+
parameters:
125+
repositoryUrl: https://myazdo.visualstudio.com/MyProject/_git/myrepo
126+
directory: C:\Workspaces
127+
pat: '{{KEY_VAULT_SECRET_URI}}'
128128
```
129129

130130
### Use key vault secrets in individual customization files
@@ -135,12 +135,12 @@ The `git-clone` task in the quickstart catalog uses the access token to clone yo
135135

136136
```yml
137137
tasks:
138-
name: git-clone
139-
description: Clone this repository into C:\Workspaces
140-
parameters:
141-
repositoryUrl: https://myazdo.visualstudio.com/MyProject/_git/myrepo
142-
directory: C:\Workspaces
143-
pat: '{{ado://YOUR_ADO_ORG}}'
138+
- name: git-clone
139+
description: Clone this repository into C:\Workspaces
140+
parameters:
141+
repositoryUrl: https://myazdo.visualstudio.com/MyProject/_git/myrepo
142+
directory: C:\Workspaces
143+
pat: '{{ado://YOUR_ADO_ORG}}'
144144
```
145145

146146
Your dev center needs access to your key vault. Dev centers don't support service tags, so if your key vault is kept private, you must allow trusted Microsoft services to bypass the firewall.
@@ -172,4 +172,4 @@ Make your customization file available to dev box pools by naming it imagedefini
172172

173173
- [Microsoft Dev Box team customizations](concept-what-are-team-customizations.md)
174174
- [Configure imaging for Dev Box team customizations](how-to-configure-customization-imaging.md)
175-
- [Add and configure a catalog from GitHub or Azure Repos](../deployment-environments/how-to-configure-catalog.md)
175+
- [Add and configure a catalog from GitHub or Azure Repos](../deployment-environments/how-to-configure-catalog.md)

0 commit comments

Comments
 (0)