Files
linuxkit/projects/etcd/start-infrakit.sh
Rolf Neugebauer 77941b7216 demo: Rename ./project/demo to ./project/etcd
With redis-os and README documentation moved elsewhere,
the demo directory only contains the etcd demo setup.
Rename it.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 13:17:05 +01:00

21 lines
457 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 $CLOUDSDK_CORE_PROJECT --zone $CLOUDSDK_COMPUTE_ZONE &
# 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