On 12/09/15 11:59, Andrew Stuart wrote:
Well, sure, if someone tells me how to pass the config as an argument to kernel load on EC2.I think you can put them in grub.cfg - that’s what the rump iso configuration does to tell the rump kernel where to find the json.cfg Instead of this: set timeout=0 menuentry "rumpkernel" { multiboot /boot/simple_hw_generic.xen ROOTFSCFG=/json.cfg } Maybe something like this: set timeout=0 menuentry "rumpkernel" { multiboot /boot/simple_hw_generic.xen JSONCONFIG=" {,\n\t\"cmdline\": \"simple_hw_generic.xen\",\n\t\"hostname\": \"rumprun-simple_hw_generic.xen.iso\",\n},” } json has been escaped in the above example. It should work for EC2 or any other platform.
Can you demonstrate the benefits of your method with examples of how things become simpler? (only tested-to-work examples, please, no should-work ones)
