$rke_up = "rke up"
$rke_down = "rke remove --force"
+$get_oom = <<-SCRIPT
+ BRANCH="${1:-5.0.1-ONAP}"
+ git clone -b "$BRANCH" https://git.onap.org/oom --recurse-submodules
+SCRIPT
+
+$get_helm_plugins = "cp -R ${HOME}/oom/kubernetes/helm/plugins/ ${HOME}/.helm"
+
Vagrant.configure('2') do |config|
all.each do |machine|
config.vm.define machine[:name] do |config|
s.privileged = false
s.path = "tools/setup_kubectl.sh"
end
+ config.vm.provision "get_helm", type: :shell, path: "tools/get_helm.sh"
+ config.vm.provision "get_oom", type: :shell, privileged: false, inline: $get_oom
+ config.vm.provision "get_helm_plugins", type: :shell, privileged: false, inline: $get_helm_plugins
end
end
end