From 9878cabd1ed7c005f28c59b4c16d0b69a047993c Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Fri, 7 Apr 2017 11:48:03 +0100 Subject: [PATCH] demo: Add script to start infrakit Signed-off-by: Rolf Neugebauer --- .../{infrakit-gce.json => infrakit-gcp.json} | 0 projects/demo/etcd/start-infrakit.sh | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+) rename projects/demo/etcd/{infrakit-gce.json => infrakit-gcp.json} (100%) create mode 100755 projects/demo/etcd/start-infrakit.sh diff --git a/projects/demo/etcd/infrakit-gce.json b/projects/demo/etcd/infrakit-gcp.json similarity index 100% rename from projects/demo/etcd/infrakit-gce.json rename to projects/demo/etcd/infrakit-gcp.json diff --git a/projects/demo/etcd/start-infrakit.sh b/projects/demo/etcd/start-infrakit.sh new file mode 100755 index 000000000..0cf4162f2 --- /dev/null +++ b/projects/demo/etcd/start-infrakit.sh @@ -0,0 +1,18 @@ +# !/bin/sh + +# Start the infrakit plugins, save their PID + +INFRAKIT_HOME=~/.infrakit +IK_PLUGINS=$INFRAKIT_HOME/plugins + +rm -rf $INFRAKIT_HOME + +infrakit-flavor-vanilla & +infrakit-instance-hyperkit & +infrakit-instance-gcp --project docker4x --zone europe-west1-d & + +# start the group plugin in the foreground. If it exits, it will take +# the others down as well. +infrakit-group-default + +rm -rf $INFRAKIT_HOME