class

SailContainers::Infrastructure::LxcConfigEditor

Inherits Reference < Object

Constants

MANAGED_PREFIXES = ["lxc.net.", "lxc.cgroup2.memory.", "lxc.cgroup2.cpuset.", "lxc.start.auto", "lxc.uts.name"]

We manage anything starting with these prefixes

Constructors

new(path : String)
Source

Instance methods

clear_prefix(prefix : String) : Nil
Source
custom_lines
Source
get(key : String) : String | Nil
Source
managed_config
Source
save!
Source
set(key : String, value : String)
Source