Dear all,
I'm encountering an issue with the usage of a multipart user_data on a config-drive. I've assembled the file:
Content-Type: multipart/mixed; boundary="==BOUNDARY=="
MIME-Version: 1.0
==BOUNDARY==
MIME-Version: 1.0
Content-Type: text/cloud-config; charset="us-ascii"
Content-Disposition: attachment; filename="cloud-config"
set_timezone: Europe/Rome
users:
- name: Administrator
passwd: VerySecretPassword__?
- name: myuser
groups: Administrators
passwd: AnotherVerySecretPassword?1
inactive: false
- name: otheruser
groups: Administrators
passwd: aScaryPassword_
inactive: false
==BOUNDARY==
MIME-Version: 1.0
Content-Type: text/x-shellscript; charset="us-ascii"
Content-Disposition: attachment; filename="test.ps1"
echo "lol" | Out-File -Append -Path "C:\lol.log"
But when I boot an instance with this config drive attached, nothing gets done. By inspecting the logs I can see, as mentioned in #87, that the content is logged but then nothing seems to happen; here's the cloudbase-init.log.
Is multipart supported with openstack.configdrive / openstack.metadata or is it just supported w/NoCloud (as I can assume by having a look at #89)?
Dear all,
I'm encountering an issue with the usage of a multipart user_data on a config-drive. I've assembled the file:
But when I boot an instance with this config drive attached, nothing gets done. By inspecting the logs I can see, as mentioned in #87, that the content is logged but then nothing seems to happen; here's the cloudbase-init.log.
Is multipart supported with openstack.configdrive / openstack.metadata or is it just supported w/NoCloud (as I can assume by having a look at #89)?