Files
linuxkit/projects/demo/etcd/start-infrakit.sh
Rolf Neugebauer b5dd0315e2 demo: Make sure the infrakit 'cli' directory exists
Otherwise there is a warning on first use.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-08 20:32:25 +01:00

20 lines
434 B
Bash
Executable File

# !/bin/sh
# Start the infrakit plugins, save their PID
INFRAKIT_HOME=~/.infrakit
IK_PLUGINS=$INFRAKIT_HOME/plugins
rm -rf $INFRAKIT_HOME
mkdir -p $INFRAKIT_HOME/cli
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