diff --git a/environment/image_recipes/bare_metal/bare_metal.json b/environment/image_recipes/bare_metal/bare_metal.json index 914d36c..dae41f1 100644 --- a/environment/image_recipes/bare_metal/bare_metal.json +++ b/environment/image_recipes/bare_metal/bare_metal.json @@ -48,7 +48,7 @@ { "type": "shell", "inline": [ - "groupadd -r {{user `username`}}", + "groupadd {{user `username`}}", "useradd -ms /bin/bash -p $(echo \"{{user `password`}}\" | openssl passwd -1 -stdin) -g {{user `username`}} -G sudo {{user `username`}}", "echo \"{{user `username`}} ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers", "mkdir -p /home/{{user `username`}}", diff --git a/environment/image_recipes/docker/docker.json b/environment/image_recipes/docker/docker.json index 8adc763..8fd38d8 100644 --- a/environment/image_recipes/docker/docker.json +++ b/environment/image_recipes/docker/docker.json @@ -66,7 +66,7 @@ { "type": "shell", "inline": [ - "groupadd -r {{user `username`}}", + "groupadd {{user `username`}}", "useradd -ms /bin/bash -p $(echo \"{{user `password`}}\" | openssl passwd -1 -stdin) -g {{user `username`}} -G sudo {{user `username`}}", "echo \"{{user `username`}} ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers", "mkdir -p /home/{{user `username`}}", diff --git a/environment/image_recipes/lxd/lxd.json b/environment/image_recipes/lxd/lxd.json index ae09e8f..84c4d4a 100644 --- a/environment/image_recipes/lxd/lxd.json +++ b/environment/image_recipes/lxd/lxd.json @@ -47,7 +47,7 @@ { "type": "shell", "inline": [ - "groupadd -r {{user `username`}}", + "groupadd {{user `username`}}", "useradd -ms /bin/bash -p $(echo \"{{user `password`}}\" | openssl passwd -1 -stdin) -g {{user `username`}} -G sudo {{user `username`}}", "echo \"{{user `username`}} ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers", "mkdir -p /home/{{user `username`}}",