rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.44k stars 660 forks source link

Writing Files not working #3032

Open Bammede opened 3 years ago

Bammede commented 3 years ago

RancherOS Version: newest stable

Where are you running RancherOS? VPS

I inserted write_files code from this page at the top of the "/var/lib/rancher/conf/cloud-config.yml" file: https://rancher.com/docs/os/v1.x/en/configuration/write-files/#writing-files-in-specific-system-services

After system restart, nothing happends, the ntp.conf file isn't created.

gabrielgbs97 commented 3 years ago

Rancher OS is 'like' read-only/atomical system. To enable persistent storage features see https://rancher.com/docs/os/v1.x/en/storage/state-partition/

Bammede commented 3 years ago

https://rancher.com/docs/os/v1.x/en/configuration/write-files/#writing-files-in-specific-system-services

this page is not telling anything about persistent storage.