File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
articles/virtual-machines Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,10 @@ az sig image-definition create \
135
135
--gallery-image-definition $imageDefName \
136
136
--publisher myIbPublisher \
137
137
--offer myOffer \
138
- --sku 18.04-LTS \
139
- --os-type Linux
138
+ --sku 20_04-lts-gen2 \
139
+ --os-type Linux \
140
+ --hyper-v-generation V2
141
+ --features SecurityType=TrustedLaunchSupported
140
142
```
141
143
142
144
## Download and configure the JSON file
@@ -193,6 +195,7 @@ az vm create \
193
195
--admin-username aibuser \
194
196
--location $location \
195
197
--image "/subscriptions/$subscriptionID/resourceGroups/$sigResourceGroup/providers/Microsoft.Compute/galleries/$sigName/images/$imageDefName/versions/latest" \
198
+ --security-type TrustedLaunch \
196
199
--generate-ssh-keys
197
200
```
198
201
Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ az vm create \
206
206
--admin-username aibuser \
207
207
--admin-password <password> \
208
208
--image $imageName \
209
+ --security-type TrustedLaunch \
209
210
--location $location
210
211
```
211
212
You can’t perform that action at this time.
0 commit comments