From bd0857f94919006c989c3199d82273c0316cbb3c Mon Sep 17 00:00:00 2001 From: nvazquez Date: Tue, 4 Jul 2023 14:13:24 -0300 Subject: [PATCH 1/2] Fix template userdata append docs --- source/adminguide/virtual_machines/user-data.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/adminguide/virtual_machines/user-data.rst b/source/adminguide/virtual_machines/user-data.rst index d863859024..4d2c55ad06 100644 --- a/source/adminguide/virtual_machines/user-data.rst +++ b/source/adminguide/virtual_machines/user-data.rst @@ -110,7 +110,7 @@ Allow Override: Allow users to override UserData for the template during VM depl Deny Override: Override of UserData isn’t allowed during VM deployment or on reset. Append Only: Don’t allow users to override linked UserData but allow users to pass userdata content - or ID that should be appended to the linked UserData of the template. + or ID that should be appended to the linked UserData of the template. When the users pass userdata it is appended to the template userdata in the form of a multipart MIME message This is how it looks like in template/ISO register/upload/edit forms. From ca8df6fdea4928fcc69a2913e26cdacd812ced0c Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 17 Jul 2023 16:52:10 +0530 Subject: [PATCH 2/2] note on multipart Signed-off-by: Abhishek Kumar --- source/adminguide/virtual_machines/user-data.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/adminguide/virtual_machines/user-data.rst b/source/adminguide/virtual_machines/user-data.rst index 4d2c55ad06..64a0bb715d 100644 --- a/source/adminguide/virtual_machines/user-data.rst +++ b/source/adminguide/virtual_machines/user-data.rst @@ -259,6 +259,8 @@ This example uses cloud-init to automatically update all OS packages on the firs cmk deploy virtualmachine name=..... userdataid= +.. note:: When using multipart userdata, cloud-init expects userdata format of one particular type only in one multipart section. + Disclaimer ~~~~~~~~~~