Skip to content

Commit a6592b7

Browse files
committed
Removing stray code block end
1 parent 7bbe983 commit a6592b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ To format and create swap you have 2 options either:
259259

260260
2. Use a cloud-init directive baked into the image that will do this every time the VM is created.
261261

262-
Create cfg file to configure swap using Cloud-init:
262+
Create cfg file to configure swap using Cloud-init:
263+
263264
```
264265
echo 'DefaultEnvironment="CLOUD_CFG=/etc/cloud/cloud.cfg.d/00-azure-swap.cfg"' >> /etc/systemd/system.conf
265266
cat > /etc/cloud/cloud.cfg.d/00-azure-swap.cfg << EOF
@@ -280,7 +281,6 @@ Create cfg file to configure swap using Cloud-init:
280281
- ["ephemeral0.2", "none", "swap", "sw,nofail,x-systemd.requires=cloud-init.service,x-systemd.device-timeout=2", "0", "0"]
281282
EOF
282283
```
283-
```
284284
285285
2. Don't create swap space on the OS disk. The Azure Linux Agent can automatically configure swap space using the local resource disk that is attached to the VM after provisioning on Azure. The local resource disk is a temporary disk, and might be emptied when the VM is deprovisioned. After installing the Azure Linux Agent, modify the following parameters in /etc/waagent.conf as needed.
286286
```

0 commit comments

Comments
 (0)