FLAKE-CTL-FIRECRACKER-REMOVE(8)

πŸ“¦ version 3.1.51, in opensuse-leap 16.0

🌸 FLAKE-CTL-FIRECRACKER-REMOVE 🌸

okay so bestie, welcome to flake-ctl-firecracker-remove(8) β€” the section-8 glow-up nobody knew they needed πŸ’… this is the page about yeeting firecracker app registrations and whole VMs, and yes she ate.


✨ NAME ✨

flake-ctl-firecracker-remove(8) β€”

πŸ’– NAME πŸ’–

flake-ctl firecracker remove β€” remove an application registration and/or an entire VM 🫢 like, the whole thing, gone, bye.


πŸ¦‹ SYNOPSIS πŸ¦‹

USAGE:
    flake-ctl firecracker remove <--vm <VM>|--app <APP>>

OPTIONS:
    --app <APP>
    --vm <VM>

✨ DESCRIPTION ✨

So the vibe here is: remove registration(s). Which registry gets touched? It's detected from the caller, iykyk. If you call it as any user other than root, then it's that user's own user-specific, rootless registry that gets used. No cap 🌈

This command lowkey has two modes, and they are not the same mode:

  1. Remove an application registration provided via --app πŸŽ€

In this mode the command deletes the specified application, but only if it's a link pointing to /usr/bin/firecracker-pilot. Then it also deletes the application configuration from /usr/share/flakes, respectively from ~/.config/flakes in user mode πŸ’«

  1. Remove a VM including all its registered applications via --vm πŸ”₯

In this mode the command deletes all application registrations using the specified VM. And at the end, the specified VM itself also gets removed from the local firecracker registry. Main character exit, honestly πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • --app <APP> β€” the application absolute path that you want removed from the host πŸ“
  • --vm <VM> β€” the VM basename, exactly as provided via ls -1 /var/lib/firecracker/images, respectively ls -1 ~/.config/flakes/firecracker/images in user mode ⭐

🧚 FILES 🧚

  • /usr/share/flakes
  • /var/lib/firecracker/images
  • ~/.config/flakes
  • ~/.config/flakes/firecracker/images

🌈 EXAMPLE 🌈

$ flake-ctl firecracker remove --app /usr/bin/apt-get

$ flake-ctl firecracker remove --vm SOME_FIRECRACKER_VM

πŸ‘‘ AUTHOR πŸ‘‘

Marcus SchΓ€fer πŸ’œ


(c) 2022, Elektrobit Automotive GmbH (c) 2023, Marcus SchΓ€fer


fr fr bestie, that's the whole page β€” nothing skipped, nothing invented, every flag and path exactly where it belongs πŸ˜­πŸ’–

and like, tiny sign-off: the footer on this one is FLAKE-CTL-FIRECRACKER-REMOVE(8)() with no date filled in β€” a little mysterious, a little iconic, we respect it πŸ™ˆβœ¨

πŸ“¦ where this page comes from