thi-startup / spitfire

cli tool for creating, running, tampering with firecracker microvms
MIT License
4 stars 1 forks source link

feat: add build and rootdrive our init #2

Closed Joe-Degs closed 1 year ago

Joe-Degs commented 1 year ago

There is this additional idea I am getting 😆 , you are working on the init and using spitfire to create the root drive after every change for rapid testing. you probably want to just build the thing from your local working repo and then test it out to see if it works. so now I introduce the --build-from command. it let's you specify the local repo that contains the init code and you just build and run.

We end up getting something like spitfire mkrooot --size 100M --fs ext4 --init --build-from ~/thi-startup/init

Joe-Degs commented 1 year ago

so new commit changes a couple of things.