This guide describes the installation and uninstallation process of Ignite.
Ignite runs on any Intel-based linux/amd64
system with KVM
support.
AMD support is in alpha (Firecracker limitation).
Note: You do not need to install any "traditional" QEMU/KVM packages, as long as there is virtualization support in the CPU and kernel it works.
See dependencies.md for needed dependencies.
Please read dependencies.md for the full reference, but if you quickly want to check if your CPU and kernel supports virtualization, run these commands:
$ lscpu | grep Virtualization
Virtualization: VT-x
$ lsmod | grep kvm
kvm_intel 200704 0
kvm 593920 1 kvm_intel
Alternatively, on Ubuntu-like systems there's a tool called kvm-ok
in the cpu-checker
package.
Check for KVM support using kvm-ok
:
$ sudo apt-get update && sudo apt-get install -y cpu-checker
...
$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
With this kind of output, you're ready to go!
Ignite is a currently a single binary application. To install it,
download the binary from the GitHub releases page,
save it as /usr/local/bin/ignite
and make it executable.
To install Ignite from the command line, follow these steps:
export VERSION=v0.4.1
curl -fLo ignite https://github.com/weaveworks/ignite/releases/download/${VERSION}/ignite
chmod +x ignite
sudo mv ignite /usr/local/bin
Ignite uses semantic versioning, select the version to be installed
by changing the VERSION
environment variable.
If the installation was successful, the ignite
command should now be available:
# ignite version
Ignite version: version.Info{Major:"0", Minor:"4+", GitVersion:"v0.4.0-rc.1", GitCommit:"7e03dc80be894250f9f97ec4d80261fd2fdcd8f4", GitTreeState:"clean", BuildDate:"2019-07-09T19:03:30Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Firecracker version: v0.17.0
Now you can continue with the Getting Started Walkthrough.
To completely remove the Ignite installation, execute the following as root:
# Force-remove all running VMs
ignite ps -q | xargs ignite rm -f
# Remove the data directory
rm -r /var/lib/firecracker
# Remove the Ignite binary
rm /usr/local/bin/ignite