From: tomponline Date: Wed, 14 Nov 2018 13:55:18 +0000 (+0000) Subject: Adds -qq flags to lvcreate commands to avoid answer 'no' to ant questions the LVM... X-Git-Tag: lxc-3.1.0~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1acfd547132c6c11274849c5f2807cf79218ae5;p=thirdparty%2Flxc.git Adds -qq flags to lvcreate commands to avoid answer 'no' to ant questions the LVM subsystem asks to avoid hanging lxc-create command Signed-off-by: tomponline --- diff --git a/src/lxc/storage/lvm.c b/src/lxc/storage/lvm.c index 6908e9066..c06e1a325 100644 --- a/src/lxc/storage/lvm.c +++ b/src/lxc/storage/lvm.c @@ -75,11 +75,11 @@ static int lvm_create_exec_wrapper(void *data) (void)setenv("LVM_SUPPRESS_FD_WARNINGS", "1", 1); if (args->thinpool) - execlp("lvcreate", "lvcreate", "--thinpool", args->thinpool, + execlp("lvcreate", "lvcreate", "-qq", "--thinpool", args->thinpool, "-V", args->size, args->vg, "-n", args->lv, (char *)NULL); else - execlp("lvcreate", "lvcreate", "-L", args->size, args->vg, "-n", + execlp("lvcreate", "lvcreate", "-qq", "-L", args->size, args->vg, "-n", args->lv, (char *)NULL); return -1;