install_osm.sh: juju bootstrap run as member of lxd group 70/6070/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 4 May 2018 09:03:31 +0000 (11:03 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Sun, 6 May 2018 13:50:19 +0000 (14:50 +0100)
Change-Id: Id43d7f025c946ddefd60c46a1abef6ba0c66817a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/install_osm.sh

index 87caad3..bacf424 100755 (executable)
@@ -533,7 +533,7 @@ function install_juju() {
     echo "Installing juju"
     sudo snap install juju --classic
     sudo dpkg-reconfigure -p medium lxd
-    juju bootstrap localhost osm
+    sg lxd -c "juju bootstrap localhost osm"
     echo "Finished installation of juju"
 }