Skip to content

Commit 298e350

Browse files
Add sudo to chmod command for swap script
1 parent a6bb062 commit 298e350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/azure/virtual-machines/linux/create-swap-file-linux-vm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ You can create a SWAP partition by using one of the following options.
8787
1. Make the script executable:
8888
8989
```bash
90-
chmod +x /var/lib/cloud/scripts/per-boot/swap.sh
90+
sudo chmod +x /var/lib/cloud/scripts/per-boot/swap.sh
9191
```
9292
9393
1. Stop and start the VM. Stopping and starting the VM is only necessary the first time after you create the SWAP file.

0 commit comments

Comments
 (0)