$ make clean all
go clean
go build
$ ./firectl -h
Usage:
firectl
Application Options:
--firecracker-binary= Path to firecracker binary
--kernel= Path to the kernel image (default: ./vmlinux)
--kernel-opts= Kernel commandline (default: ro console=ttyS0 noapic reboot=k panic=1 pci=off nomodules)
--root-drive= Path to root disk image
--root-partition= Root partition UUID
--add-drive= Path to additional drive, suffixed with :ro or :rw, can be specified multiple times
--tap-device= NIC info, specified as DEVICE/MAC
--vsock-device= Vsock interface, specified as PATH:CID. Multiple OK
--vmm-log-fifo= FIFO for firecracker logs
--log-level= vmm log level (default: Debug)
--metrics-fifo= FIFO for firecracker metrics
-t, --disable-hyperthreading Disable CPU Hyperthreading
-c, --ncpus= Number of CPUs (default: 1)
--cpu-template= Firecracker CPU Template (C3 or T2)
-m, --memory= VM memory, in MiB (default: 512)
--metadata= Firecracker Meatadata for MMDS (json)
-l, --firecracker-log= pipes the fifo contents to the specified file
-d, --debug Enable debug output
-h, --help Show usage
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Revision history for changes prior to this can be found in the firecracker-go-sdk repository at https://github.com/firecracker-microvm/firecracker-go-sdk/
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.