Hi Team,

I'm trying to understand if it is possible to pass an ISO file as user-data or config-drive while creating an instance.

Ex.,
openstack server create --image <my image> --flavor <my flavor> --user-data /path/to/myiso.iso --network <my network> --config-drive true <instance name>

Basically we need to mount & get the files in our ISO that is passed to the VM instance for initial configuration. 

When trying the above OpenStack CLI command with ISO as user-data, below error is thrown (where as plain text file works),

'utf8' codec can't decode byte 0xbb in position 32848: invalid start byte

Regards,
Srini