From b978906f411d58ab9397f1ae2f15aefd0c2b3175 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 13 Apr 2022 17:42:56 -0700 Subject: rename LXC:USERNET-USABLE-BY -> LXC:USERNET-VETH-USABLE-BY Signed-off-by: Sean Whitton --- src/package.lisp | 2 +- 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. -- cgit v1.2.3