micro-config-drive icon indicating copy to clipboard operation
micro-config-drive copied to clipboard

Support for root being mounted elsewhere

Open jsok opened this issue 5 years ago • 2 comments

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.

jsok avatar Feb 06 '20 05:02 jsok

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 avatar Feb 10 '20 05:02 ahkok

Some basic questions I have:

  • Do you assume a config-2 filesystem is present locally on the system?
  • Is this for a VM sort of use case? or bare metal? iPXE?

ahkok avatar Feb 14 '20 20:02 ahkok