Skip to content

Commit c826d83

Browse files
fix(post): fix cloud image command
1 parent 1ecc238 commit c826d83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2022-03-19-cloud-init-cloud-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Choose your [Ubuntu Cloud Image](https://cloud-images.ubuntu.com/)
1919
Download Ubuntu (replace with the url of the one you chose from above)
2020

2121
```bash
22-
wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64-disk-kvm.img
22+
wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
2323
```
2424

2525
Create a new virtual machine
@@ -31,7 +31,7 @@ qm create 8000 --memory 2048 --core 2 --name ubuntu-cloud --net0 virtio,bridge=v
3131
Import the downloaded Ubuntut disk to local-lvm storage
3232

3333
```bash
34-
qm importdisk 8000 focal-server-cloudimg-amd64-disk-kvm.img local-lvm
34+
qm importdisk 8000 focal-server-cloudimg-amd64.img local-lvm
3535
```
3636

3737
Attach the new disk to the vm as a scsi drive on the scsi controller

0 commit comments

Comments
 (0)