Prepare, configure, and manage Firecracker microVMs in seconds!
virtualization linux microvm firecracker
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

update README

+48
+8
README.md
··· 15 15 - **Cross-Architecture Support**: Supports x86_64 and aarch64 with automatic detection. 16 16 - **Robust Error Handling**: Clear error messages using anyhow for easy debugging. 17 17 18 + ## Installation 19 + 20 + You can install `fireup` using bash: 21 + 22 + ```bash 23 + curl -sSL https://raw.githubusercontent.com/tsirysndr/fireup/main/install.sh | bash 24 + ``` 25 + 18 26 ## Subcommands 19 27 - `up`: Starts the Firecracker microVM, preparing assets and configuring the network if needed. 20 28 - `down`: Stops the running Firecracker microVM.
+40
install.sh
··· 104 104 105 105 $SUDO cp $HOME/.firecracker/release-${VERSION}-${ARCH}/snapshot-editor /usr/local/bin/snapshot-editor 106 106 107 + detect_os 108 + 109 + DOWNLOAD_URL=$(curl -sSL "$RELEASE_URL" | grep -o "browser_download_url.*fireup-.*$ASSET_NAME\"" | cut -d ' ' -f 2) 110 + 111 + DOWNLOAD_URL=`echo $DOWNLOAD_URL | tr -d '\"'` 112 + 113 + ASSET_NAME=$(basename $DOWNLOAD_URL) 114 + 115 + curl -SL $DOWNLOAD_URL -o /tmp/$ASSET_NAME 116 + 117 + tar -xzf /tmp/$ASSET_NAME -C /tmp 118 + 119 + chmod a+x /tmp/fireup 120 + 121 + $SUDO cp /tmp/fireup /usr/local/bin/fireup 122 + rm -rf /tmp/fireup 123 + 124 + cat <<EOF 125 + ${ORANGE} 126 + _______ __ __ 127 + / ____(_)_______ / / / /___ 128 + / /_ / / ___/ _ \/ / / / __ \\ 129 + / __/ / / / / __/ /_/ / /_/ / 130 + /_/ /_/_/ \___/\____/ .___/ 131 + /_/ 132 + ${NO_COLOR} 133 + Welcome to Fireup! 134 + 135 + ${GREEN}https://github.com/tsirysndr/fireup${NO_COLOR} 136 + 137 + Please file an issue if you encounter any problems! 138 + 139 + =============================================================================== 140 + 141 + Installation completed! 🎉 142 + 143 + You can now run the following command to start using Fireup: 144 + ${CYAN}fireup${NO_COLOR} 145 + 146 + EOF