On 09/06/15 00:02, Andrew Stuart wrote:
Interesting concept. I wonder if maybe this could be used for running an initial configuration program (like downloading EC2 userdata from a URL) before starting the main application.
Yea, why not, though for supported "boards" I think we should not expose the internal configuration details on the level of rumpbake. In other words, the prog[n] given to rumpbake should be the user's programs. Of course, if some user wants to do special configuration with some special program, they are free to do so.
Besides, downloading data from a URL is ~20 lines of C, so rumpbaking curl or wget for that job is extreme overkill.
A bit more "out there” but maybe it’s possible somehow to package up multiple unikernels and chain them together, each passing its output to the next. Not sure what purpose that might serve - just a thought.
I can't imagine it being very difficult to hack up, but as usual, hacking it up in a presentable, understandable and maintainable way is the hard part.
(that, and figuring out what it would be useful for ;)
