IBM / packer-plugin-ibmcloud

Automate customizing Image Template
Apache License 2.0
24 stars 24 forks source link

Add support to provide userdata on classic infrastructure #58

Closed jvidalallende closed 1 year ago

jvidalallende commented 1 year ago

Problem description

Right now, there is no way to provide custom userdata while using the classic infrastructure builder.

The SoftLayer API allows it, and also both IBM Cloud web UI and ibmcloud CLI support it (see the -u/--userdata and -F/--userfile options of the ibmcloud sl vs create command.

For VPC infrastructure, there is a way to provide this userdata, by means of the vsi_user_data_file parameter.

Wanted solution

Provide a parameter (e.g. user_data_file_path) that allows the user to specify custom userdata when building images on classic infrastructure.

github-actions[bot] commented 1 year ago

Thank you so much for reporting an issue