clearlinux / micro-config-drive

An alternative and small cloud-init implementation in C
Other
45 stars 17 forks source link

Support for root being mounted elsewhere #51

Open jsok opened 4 years ago

jsok commented 4 years ago

I'd like to embed micro-config-drive in my initramfs, however at this point root isn't mount at /, instead (by convention) it's at $rootmnt (default: /root).

Other tools like ignition support this via a command line flag: ignition --root="${rootmnt}".

Would adding such support to ucd be a welcome contribution? I'd be happy to implement.

ahkok commented 4 years ago

That definitely is something we can consider. Probably the best thing is to do a PoC and see if there are any problems with it...

ahkok commented 4 years ago

Some basic questions I have: