# Cloud-Init config for Openstack Image

**URL:** <https://forums.suse.com/t/cloud-init-config-for-openstack-image/985>\
**Category:** RancherOS\
**Created:** [November 17, 2015, 9:44pm UTC](https://forums.suse.com/t/cloud-init-config-for-openstack-image/985 "2015-11-17T21:44:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miticojo](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@miticojo](https://forums.suse.com/u/miticojo)\
**Post date:** [November 17, 2015, 9:44pm UTC](https://forums.suse.com/t/cloud-init-config-for-openstack-image/985/1 "2015-11-17T21:44:58Z")

</div>

Hi Guys,  
I’d like to setup my openstack env with RancherOS and custom cloud-init.yml (“user-data”) but it seems that I’m not able to load it using the ISO.  
Could you suggest me some step to get my target conf?

Thanks  
Miticojo

---

<div class="post-metadata">

**Author:** ![miticojo](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@miticojo](https://forums.suse.com/u/miticojo)\
**Post date:** [November 17, 2015, 10:30pm UTC](https://forums.suse.com/t/cloud-init-config-for-openstack-image/985/2 "2015-11-17T22:30:52Z")

</div>

I’ve solved with following steps:

1. uploaded basic ISO to glance
2. started a new instance with ISO image + 10 GB volume
3. copied on it my cloud-init file and run “sudo ros install -c cloud-init.yml -d /dev/vda”
4. copied volume (with force option) to image (the final customized one)
5. terminated instance and removed volume  
-------- finished custom image deploy
6. created one or more RancherOS instances!

Let me know if I’ve lost something…

Bye  
Miticojo
