Question About Custom Persistent/Mutable Root Directories and Resources for Kairos Cloud-Init (Yip) #3236
-
I'm working with Kairos and exploring its variant of Cloud-Init. I'm currently trying to set up a persistent read-write directory directly under the root filesystem ( Specifically, I have these questions: What's the correct way to configure Cloud-Init to persist a custom, read-write directory in the root filesystem across reboots? Are there comprehensive or detailed resources available specifically for Kairos' variant of Cloud-Init (Yip)? The official documentation seems limited regarding persistence mechanisms and other details. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
you can get this by gollowing the https://kairos.io/docs/advanced/customizing/#customizing-the-file-system-hierarchy-using-cloud-config examples for creating the dir under the rootfs and then adding your extra bind with persistent with the https://kairos.io/docs/advanced/customizing/#customizing-the-file-system-hierarchy-using-custom-mounts part Basically something like this in you cloud config would work:
|
Beta Was this translation helpful? Give feedback.
Hey @AlexanderTheGrey
you can get this by gollowing the https://kairos.io/docs/advanced/customizing/#customizing-the-file-system-hierarchy-using-cloud-config examples for creating the dir under the rootfs and then adding your extra bind with persistent with the https://kairos.io/docs/advanced/customizing/#customizing-the-file-system-hierarchy-using-custom-mounts part
Basically something like this in you cloud config would work: