Skip to content

Commit f125f61

Browse files
committed
Acrolinx and code block format
1 parent 5dc1141 commit f125f61

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/virtual-machines/linux/create-upload-generic.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,14 @@ Modify the following parameters in /etc/waagent.conf
242242
Cloud-init
243243
Configure cloud-init to handle the provisioning:
244244

245-
```bash
246-
sed -i 's/Provisioning.Agent=auto/Provisioning.Agent=cloud-auto/g' /etc/waagent.conf
247-
sed -i 's/ResourceDisk.Format=y/ResourceDisk.Format=n/g' /etc/waagent.conf
248-
sed -i 's/ResourceDisk.EnableSwap=y/ResourceDisk.EnableSwap=n/g' /etc/waagent.conf
249-
```
250-
Configure Cloud-init to create swap
245+
```bash
246+
sed -i 's/Provisioning.Agent=auto/Provisioning.Agent=cloud-auto/g' /etc/waagent.conf
247+
sed -i 's/ResourceDisk.Format=y/ResourceDisk.Format=n/g' /etc/waagent.conf
248+
sed -i 's/ResourceDisk.EnableSwap=y/ResourceDisk.EnableSwap=n/g' /etc/waagent.conf
249+
```
250+
251+
Configure Cloud-init to create swap.
252+
251253
To format and create swap you have 2 options either:
252254

253255
1. Pass this in as a cloud-init config every time you create a VM through `customdata`. This is the recommended method.

0 commit comments

Comments
 (0)