Skip to content

Commit

Permalink
Merge pull request #655 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
11/25/2024 PM Publish
  • Loading branch information
Taojunshen authored Nov 25, 2024
2 parents d701a80 + c3f3a24 commit 3a55da6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
56 changes: 28 additions & 28 deletions articles/virtual-machines/linux/redhat-create-upload-vhd.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
1. Configure `cloud-init` telemetry to assist with troubleshooting for provisioning issues:
```bash
sudo tee >> /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
sudo tee >> /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
EOF
```
Expand Down Expand Up @@ -459,13 +459,13 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
1. Configure `cloud-init` telemetry to assist with troubleshooting for provisioning issues:
```bash
sudo tee >> /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
sudo tee >> /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
EOF
```
Expand Down Expand Up @@ -869,13 +869,13 @@ This section shows you how to use KVM to prepare RHEL 7 to upload to Azure.
1. Configure `cloud-init` telemetry to assist with troubleshooting for provisioning issues:
```bash
sudo tee /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
sudo tee >> /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
EOF
```
Expand Down Expand Up @@ -1275,13 +1275,13 @@ This section shows you how to use KVM to prepare RHEL 7 to upload to Azure.
1. Configure `cloud-init` telemetry to assist with troubleshooting for provisioning issues:
```bash
sudo tee /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
sudo tee >> /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg << EOF
# This config enables cloud-init to report provisioning telemetry to aid with troubleshooting
Reporting:
logging:
type: log
telemetry:
type: hyperv
EOF
```
Expand Down
4 changes: 2 additions & 2 deletions articles/virtual-machines/linux/tutorial-custom-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Allowed characters for image version are numbers and periods. Numbers must be wi

In this example, the version of our image is *1.0.0* and we're going to create two replicas in the *West Central US* region, one replica in the *South Central US* region and one replica in the *East US 2* region using zone-redundant storage. The replication regions must include the region the source VM is located.

Replace the value of `--managed-image` in this example with the ID of your VM from the previous step.
Replace the value of `--virtual-machine` in this example with the ID of your VM from the previous step.

```azurecli-interactive
az sig image-version create \
Expand All @@ -125,7 +125,7 @@ az sig image-version create \
--gallery-image-version 1.0.0 \
--target-regions "westcentralus" "southcentralus=1" "eastus=1=standard_zrs" \
--replica-count 2 \
--managed-image "/subscriptions/<Subscription ID>/resourceGroups/MyResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
--virtual-machine "/subscriptions/<Subscription ID>/resourceGroups/MyResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
```

> [!NOTE]
Expand Down

0 comments on commit 3a55da6

Please sign in to comment.