[pve-devel] [PATCH docs] cloud init: add warning to not install cloud-init on the host

Fiona Ebner f.ebner at proxmox.com
Thu Sep 22 10:32:40 CEST 2022


>From time to time, users install the cloud-init package on the host
by accident [0]. Since the other commands are intended to be run on
the host, add a warning about the one command that shouldn't.

Patch suggested by @Neobin on the community forum [1].

[0] https://forum.proxmox.com/threads/115530/post-499610
[1] https://forum.proxmox.com/threads/115530/post-499624

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 qm-cloud-init.adoc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/qm-cloud-init.adoc b/qm-cloud-init.adoc
index 1cebf14..8fb69a0 100644
--- a/qm-cloud-init.adoc
+++ b/qm-cloud-init.adoc
@@ -48,6 +48,9 @@ prepare. On Debian/Ubuntu based systems this is as simple as:
 apt-get install cloud-init
 ----
 
+WARNING: This command is *not* intended to be executed on the {pve} host, but
+only inside the VM.
+
 Already many distributions provide ready-to-use Cloud-Init images (provided
 as `.qcow2` files), so alternatively you can simply download and
 import such images. For the following example, we will use the cloud
-- 
2.30.2






More information about the pve-devel mailing list