Projet

Général

Profil

Révision b5f95726

IDb5f957268f0701312004bd8b4594d9cc33d0f562
Parent 8a9bd013
Enfant 137913e3

Ajouté par Sebastian L il y a environ 5 ans

lxc_guests: Make it work with unpriviliged containers

Voir les différences:

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