firecracker-microvm / firectl

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

Add cgroups-version option #117

Open ellie opened 10 months ago

ellie commented 10 months ago

Issue #, if available:

Description of changes:

Firecracker's jailer + go SDK support cgroups v2, but this cannot be specified from firectl.

This patch allows specifying the version, and defaults to v1 - so as not to break any existing scripts.

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