all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH docs 2/3] cloud init: use expected disk number in example
Date: Thu, 29 Sep 2022 09:52:23 +0200	[thread overview]
Message-ID: <20220929075224.27891-2-f.ebner@proxmox.com> (raw)
In-Reply-To: <20220929075224.27891-1-f.ebner@proxmox.com>

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>
---
 qm-cloud-init.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qm-cloud-init.adoc b/qm-cloud-init.adoc
index 25cd700..618d0f7 100644
--- a/qm-cloud-init.adoc
+++ b/qm-cloud-init.adoc
@@ -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`
-- 
2.30.2





  reply	other threads:[~2022-09-29  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-29  7:52 [pve-devel] [PATCH docs 1/3] cloud init: use 'order' variant for 'boot' property Fiona Ebner
2022-09-29  7:52 ` Fiona Ebner [this message]
2022-09-29  7:52 ` [pve-devel] [PATCH/RFC docs 3/3] cloud init: use 'import-from' disk syntax to avoid a step Fiona Ebner
2022-11-16 19:38 ` [pve-devel] applied-series: [PATCH docs 1/3] cloud init: use 'order' variant for 'boot' property Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220929075224.27891-2-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal