aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/main.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-10-23 03:47:50 -0700
committerVictor Morales <victor.morales@intel.com>2018-11-15 03:31:29 -0800
commit1b76b8fada122365b9adf99cc305721cc114d30a (patch)
tree2a7197aab0cb20cf14e397d0fd7465a0c94574cf /vagrant/main.sh
parentdaf3a00798ee77e469cd89cb16ade818c50968f9 (diff)
Change deployment approach
This change pretends to isolate the deployment script and make it consumable externally. Change-Id: I7b9859fcc55e03e706aa54d4bc632ed15b4313be Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-408
Diffstat (limited to 'vagrant/main.sh')
-rwxr-xr-xvagrant/main.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/vagrant/main.sh b/vagrant/main.sh
new file mode 100755
index 00000000..993ca78a
--- /dev/null
+++ b/vagrant/main.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+set -o nounset
+set -o pipefail
+
+cd ~/go/src/k8-plugin-multicloud/vagrant
+sudo -H -E bash ./installer.sh | tee krd_installer.log