demo: Add script to start infrakit

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2017-04-07 11:48:03 +01:00
parent f46881c1a1
commit 9878cabd1e
2 changed files with 18 additions and 0 deletions

View File

@ -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