aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/k8s
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-30 16:27:45 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-31 15:47:41 +0200
commit64092cb637805d0d12d08488cdb19a0ada136fd6 (patch)
tree83eb0b3ddee2a978dcf14dee01e10259825e78ac /test/security/k8s
parent0ebd04f1cbce5640747b6791582c7b8db09ef8ea (diff)
k8s: Add post-up message for actual cluster creation
Issue-ID: SECCOM-235 Change-Id: I8f9d4362da50a8b3f2aa1baf3633d818da2ed3a5 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'test/security/k8s')
-rw-r--r--test/security/k8s/vagrant/dublin/Vagrantfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/security/k8s/vagrant/dublin/Vagrantfile b/test/security/k8s/vagrant/dublin/Vagrantfile
index 8870580c3..ef4d42b14 100644
--- a/test/security/k8s/vagrant/dublin/Vagrantfile
+++ b/test/security/k8s/vagrant/dublin/Vagrantfile
@@ -21,6 +21,8 @@ cluster = [
all = cluster.dup << operation
+operation_post_msg = "Run: \"vagrant provision #{operation[:name]} --provision-with=rke_up\" to complete cluster creation"
+
$replace_dns = <<-SCRIPT
HOST_IP="$1"
rm -f /etc/resolv.conf # drop its dynamic management by systemd-resolved
@@ -140,6 +142,8 @@ Vagrant.configure('2') do |config|
s.inline = $link_cluster_yml
s.args = [synced_folder_main, cluster_yml]
end
+
+ config.vm.post_up_message = operation_post_msg
config.vm.provision "rke_up", type: :shell, run: "never", privileged: false, inline: $rke_up
end
end