New Question

What should be on CDROM?

asked 2016-01-20 16:50:38 +0300

aburluka gravatar image

Hello! I would like to create CDROM with some personalization data for QEMU VM. I've installed windows and cloudbase init, service is running. If I understand it correctly, I should prepare ISO and and attach it as CDROM to VM. I try to add user-data and meta-data similar to cloud-init and this attempt failed. I want to execute arbitrary commands and add ssh keys. Could you please provide me examples of ISO contents?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2016-02-02 09:41:31 +0300

SV gravatar image

Hi Adrian,

I am also facing the same issue with cloudbase-init...i installed windows and cloudbase-init in it but when i try to put some data from cloud-init metadata.json and userdata file...the VM doesn't accept it and failed...

Would you mind to provide an example metadata.json file....also does it require this format under ISO "/openstack/latest/metadata.json" or just generate the simple iso with meta-data file and attach to vm ??

edit flag offensive delete link more


Hello, The format is a convention cloudbase-init or cloud-init requires. You can start from the example ISO I provided before. Thanks.

avladu gravatar imageavladu ( 2016-02-02 11:05:14 +0300 )edit

answered 2016-01-27 16:29:11 +0300

avladu gravatar image


This is an example of an ISO with one user data script for PowerShell:

More info on the format of the user data scripts can be found here:

Let me know other scenarios that you would like to know about.


edit flag offensive delete link more


Thank you! Your example helped me a lot! But there is still a problem with multipart/mixed user data. I walked up through sources and currently it's not implemented. Can you please tell me how to combine cloud-config data with scripts execution?

aburluka gravatar imageaburluka ( 2016-02-08 17:59:26 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-01-20 16:50:38 +0300

Seen: 799 times

Last updated: Feb 02 '16