diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-13 17:42:56 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-13 17:42:56 -0700 |
commit | b978906f411d58ab9397f1ae2f15aefd0c2b3175 (patch) | |
tree | fff3fcf24608301654b8675d9f8030170704c09a | |
parent | 4b00c1a9ead9851275e5930fe65e3d9bfd563a24 (diff) | |
download | consfigurator-b978906f411d58ab9397f1ae2f15aefd0c2b3175.tar.gz |
rename LXC:USERNET-USABLE-BY -> LXC:USERNET-VETH-USABLE-BY
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r-- | src/package.lisp | 2 | ||||
-rw-r--r-- | src/property/lxc.lisp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/package.lisp b/src/package.lisp index 9f015da..b1728aa 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -916,7 +916,7 @@ #:user-container-started #:when-user-container-running #:user-containers-autostart - #:usernet-usable-by + #:usernet-veth-usable-by #:user-container-for #:user-container-for. #:user-container diff --git a/src/property/lxc.lisp b/src/property/lxc.lisp index 36fbd95..20fd3da 100644 --- a/src/property/lxc.lisp +++ b/src/property/lxc.lisp @@ -91,7 +91,7 @@ is ~/.config." "WantedBy=default.target")) (systemd:enabled "lxc-autostart" t))) -(defprop usernet-usable-by :posix +(defprop usernet-veth-usable-by :posix (user &optional (interface "lxcbr0") (count 10)) "Ensure that USER is allowed to attach up to COUNT unprivileged LXCs to the LXC-managed bridge INTERFACE. @@ -198,8 +198,8 @@ OPTIONS is a plist of keyword parameters: lxc.container.conf(5). In most cases you will need to include, at a minimum, lines setting up a network interface for the container. The default value serves as an example of a standard way to do this; if you - use them unmodified, you will also need to apply LXC:USERNET-USABLE-BY for - USER before this property. + use them unmodified, you will also need to apply + LXC:USERNET-VETH-USABLE-BY for USER before this property. - :UID-MAPS -- a list of the form (INSIDE OUTSIDE COUNT), or a list of such lists, specifying the subordinate UIDs for the container's user namespace. |