summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-26 18:19:22 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-26 19:33:15 +0100
commit42c6f2c9b2e5c2f013ce0af20bb11f63e9ec13c9 (patch)
tree6518e54f983a8646dc03419e2770fe5b9f9a7b8e /src/machine
parentf0be89eee9bf887bac87b59702bf688f691c2340 (diff)
machined: let's also check machine directories in /usr and /usr/local
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/machine/image.c b/src/machine/image.c
index f72a5c3960..c4645a13a2 100644
--- a/src/machine/image.c
+++ b/src/machine/image.c
@@ -28,8 +28,10 @@
#include "image.h"
static const char image_search_path[] =
+ "/var/lib/machines\0"
"/var/lib/container\0"
- "/var/lib/machine\0";
+ "/usr/local/lib/machines\0"
+ "/usr/lib/machines\0";
Image *image_unref(Image *i) {
if (!i)