Skip to content

Commit 7c199a4

Browse files
Merge pull request #233558 from markusries/main
Update redhat-create-upload-vhd.md
2 parents 253cb40 + 7d2e745 commit 7c199a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/virtual-machines/linux/redhat-create-upload-vhd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
289289
290290
```bash
291291
if [[ -f /mnt/resource/swapfile ]]; then
292-
echo "Removing swapfile" #RHEL uses a swapfile by defaul
292+
echo "Removing swapfile" #RHEL uses a swapfile by default
293293
swapoff /mnt/resource/swapfile
294294
rm /mnt/resource/swapfile -f
295295
fi
@@ -337,7 +337,7 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
337337
- device: ephemeral0.2
338338
filesystem: swap
339339
mounts:
340-
- ["ephemeral0.1", "/mnt"]
340+
- ["ephemeral0.1", "/mnt/resource"]
341341
- ["ephemeral0.2", "none", "swap", "sw,nofail,x-systemd.requires=cloud-init.service,x-systemd.device-timeout=2", "0", "0"]
342342
EOF
343343
```
@@ -524,7 +524,7 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
524524
- device: ephemeral0.2
525525
filesystem: swap
526526
mounts:
527-
- ["ephemeral0.1", "/mnt"]
527+
- ["ephemeral0.1", "/mnt/resource"]
528528
- ["ephemeral0.2", "none", "swap", "sw,nofail,x-systemd.device-timeout=2,x-systemd.requires=cloud-init.service", "0", "0"]
529529
EOF
530530
```
@@ -1381,7 +1381,7 @@ This section shows you how to prepare a RHEL 7 distro from an ISO using a kickst
13811381
- device: ephemeral0.2
13821382
filesystem: swap
13831383
mounts:
1384-
- ["ephemeral0.1", "/mnt"]
1384+
- ["ephemeral0.1", "/mnt/resource"]
13851385
- ["ephemeral0.2", "none", "swap", "sw,nofail,x-systemd.device-timeout=2,x-systemd.requires=cloud-init.service", "0", "0"]
13861386
EOF
13871387

0 commit comments

Comments
 (0)