From 9f16111b698bc57f87d503ca7322a171003ef93c Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Wed, 14 Sep 2016 17:52:52 -0400 Subject: [PATCH] Switch arguments to usermod Need to add nova user to qemu group. Change-Id: I0df21d00fb295e0f2c14dd6abd4bee518fec8371 Closes-Bug: #1623682 --- docker/nova/nova-libvirt/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nova/nova-libvirt/Dockerfile.j2 b/docker/nova/nova-libvirt/Dockerfile.j2 index 9bc485fc9d..375469c64a 100644 --- a/docker/nova/nova-libvirt/Dockerfile.j2 +++ b/docker/nova/nova-libvirt/Dockerfile.j2 @@ -52,7 +52,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN usermod -a -G nova qemu +RUN usermod -a -G qemu nova {% elif base_distro in ['ubuntu', 'debian'] %}