Is there a file that can be inserted to the xhyve virtual machine to auto-run on boot/restart? Boot2docker used tmpfs for the root mount just like Moby does, but since /var persisted, it allowed you to place a /var/lib/boot2docker/bootlocal.sh file that would run on boot to allow you to set up custom configurations.
I would love to do something similar with Moby, but can’t find an obvious implementation of that same feature.
Yeah, my concern is that everything your (and my) script does is ephemeral. After a reboot of the VM, it’s gone. I’d love to have it configure itself on boot just like my boot2docker VM did, rather than write a service that is constantly running on the host to check for restarts.