aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/security/k8s/vagrant/dublin/Vagrantfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/security/k8s/vagrant/dublin/Vagrantfile b/test/security/k8s/vagrant/dublin/Vagrantfile
index dc5580944..abef9f8a1 100644
--- a/test/security/k8s/vagrant/dublin/Vagrantfile
+++ b/test/security/k8s/vagrant/dublin/Vagrantfile
@@ -41,10 +41,12 @@ Vagrant.configure('2') do |config|
if machine[:name] == 'control'
config.vm.provision :shell, path: "../../tools/dublin/imported/openstack-k8s-controlnode.sh"
+ config.vm.provision :shell, inline: "usermod -aG docker vagrant" # script above adds "ubuntu" user only
end
if machine[:name] == 'worker'
config.vm.provision :shell, path: "../../tools/dublin/imported/openstack-k8s-workernode.sh"
+ config.vm.provision :shell, inline: "usermod -aG docker vagrant" # script above adds "ubuntu" user only
end
if machine[:name] == 'operator'