Révision b5f95726
lxc_guests: Make it work with unpriviliged containers
| plugins/lxc/lxc_guests | ||
|---|---|---|
| 112 | 112 |
local guest_name="$1" |
| 113 | 113 |
local field="$2" |
| 114 | 114 |
# lxc3 (lxc < 3: may output some warnings if there is cruft in your config dir) |
| 115 |
lxc-cgroup -o /dev/stdout -l INFO -n "$guest_name" "$field" | sed 's/^.*lxc_cgroup.c:main:[0-9][0-9]* - //' |
|
| 115 |
lxc-cgroup -o /dev/stdout -l INFO -n "$guest_name" "$field" | sed 's/^.*lxc_cgroup.c:main:[0-9][0-9]* - //' | grep -v set_config_idmaps
|
|
| 116 | 116 |
} |
| 117 | 117 |
|
| 118 | 118 |
|
Formats disponibles : Unified diff