mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-05-09 13:18:13 +00:00
cloud init: use expected disk number in example
Starting from a storage with no disks for the VM ID in question, the imported disk will be called vm-9000-disk-0. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
44562c3b8e
commit
593bdd7d58
@ -69,7 +69,7 @@ qm create 9000 --memory 2048 --net0 virtio,bridge=vmbr0
|
||||
qm importdisk 9000 bionic-server-cloudimg-amd64.img local-lvm
|
||||
|
||||
# finally attach the new disk to the VM as scsi drive
|
||||
qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-1
|
||||
qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-0
|
||||
----
|
||||
|
||||
NOTE: Ubuntu Cloud-Init images require the `virtio-scsi-pci`
|
||||
|
Loading…
Reference in New Issue
Block a user