Scroll to navigation

FLAKE-CTL-FIRECRACKER-REMOVE(8)() FLAKE-CTL-FIRECRACKER-REMOVE(8)()

Name

FLAKE-CTL-FIRECRACKER-REMOVE(8) -

NAME

flake-ctl firecracker remove - Remove application registration and/or entire VM

SYNOPSIS

USAGE:

flake-ctl firecracker [--user] remove <--vm <VM>|--app <APP>> OPTIONS:
--app <APP>
--user
--vm <VM>


DESCRIPTION

Remove registration(s). The command operates in two modes:

1.
Remove an application registration provided via --app

In this mode the command deletes the specified application if it is a link pointing to /usr/bin/firecracker-pilot. It then also deletes the application configuration from /usr/share/flakes respectively from ~/.config/flakes in user mode

2.
Remove a VM including all its registered applications via --vm

In this mode the command deletes all application registrations using the specified VM. At the end also the specified VM will be removed from the local firecracker registry


OPTIONS

Application absolute path to be removed from host
Remove from the user specific registry, rootless mode. Requesting user mode as the root user has no effect
VM basename 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

COPYRIGHT

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