firecracker-microvm / firectl

firectl is a command-line tool to run Firecracker microVMs
Apache License 2.0
477 stars 72 forks source link

add socket-path option #11

Closed IRCody closed 5 years ago

IRCody commented 5 years ago

Issue #, if available:

3

Description of changes:

adds a flag (-s, --socket-path) to configure the firecracker socket path. Defaults to a file in os.TempDir()/firecracker-socketrandom numbers if unspecified.

Also updated the README.md USAGE to match the actual usage.

Testing done:

Tested launching a vmm with firecracker v0.12.0 both with a socket-path specified and none specified.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.