# Update cloud-config

**URL:** <https://forums.suse.com/t/update-cloud-config/16768>\
**Category:** RancherOS\
**Created:** [March 5, 2020, 11:08pm UTC](https://forums.suse.com/t/update-cloud-config/16768 "2020-03-05T23:08:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torpi](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/torpi/32/6087_2.png) [@Torpi](https://forums.suse.com/u/Torpi)\
**Post date:** [March 5, 2020, 11:08pm UTC](https://forums.suse.com/t/update-cloud-config/16768/1 "2020-03-05T23:08:20Z")

</div>

Hello,

I have some difficulties finding documentation about RancherOS 1.x, in particular, cloud-config and ros. All references I found point to 404.

I have deployed RancherOS with local cloud-config. I am wondering how to update this now. First, does it read the cloud-config file every time it boots so one way to do it would be to have the file availaible through http?

If the file is local like I did, I understand I can export it

ros config export \> config.yaml  
edit the config locally

and merge?  
ros config merge -i config.yaml

I am not sure about merging it. What happens if I remove an rsa-key and add a new one?  
How can I add nfs shares and remove others if it merges?

Is there any way to replace the file instead?

I understand that /var/lib/rancher is persistent.  
Should I edit /var/lib/rancher/conf/cloud-config.d/user\_config.yml directly and reboot then?  
Will it re-generates /var/lib/rancher/conf/cloud-config.yml?

Sorry for those naive questions but there is really close to no documentation on those points.

Thank you for your help,  
Torpi
