=== meena2 is now known as meena === ivo_cavalcante_ is now known as ivo_cavalcante [23:02] Hi! Clearly I am too unintelligent to use cloud-init. For context, I am usingt multipass to play around and learn. I have a working user-data ("#cloud-config" format) that I feed into a new multipass VM like so: [23:02] multipass -v launch -c 2 -d 4G -m 2G --cloud-init d:\raspberry-pi\ubuntu64\user-data -n b 20 [23:02] .10 [23:04] (sorry for the unwanted line break) To add a shell script for the "script user" module, I stuck the user-data YAML and the script into a MIME multi-part file which I feed to multipass in the exact same way: [23:05] multipass -v launch -c 2 -d 4G -m 2G --cloud-init user-data -n b 20.10 [23:05] The start of user-data now looks like this: [23:05] Content-Type: multipart/mixed; boundary="===============5816695000811628090==" [23:05] MIME-Version: 1.0 [23:05] --===============5816695000811628090== [23:05] Content-Type: text/cloud-config; charset="utf-8" [23:05] MIME-Version: 1.0 [23:05] Content-Transfer-Encoding: base64 [23:05] Content-Disposition: attachment; filename="userdata.yaml" [23:05] I2Nsb3VkLWNvbmZpZwoKIyBodHRwczovL2Nsb3VkaW5pdC5yZWFkdGhlZG9jcy5pby8KCgoj [23:05] ID09PT09IGluaXQgc3RhZ2UgPT09PT09PT09PT09PT09CgoKIyAtLS0tLSB3cml0ZSBmaWxl [23:05] [...] [23:06] (There is a blank line before the base64-encoded portion which the IRC client swallowed entire) [23:07] cloud-init rewards my efforts with "error loading cloud-init config: yaml-cpp: error at line 5, column 13: illegal map value" [23:08] Clearly I need to do something to tell cloud-init that I feeding it a mult-part MIME document. But what? [23:08] Any help and pointers are very, very welcome. Thanks!