mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 09:21:28 +00:00
demo: Add script to start infrakit
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
18
projects/demo/etcd/start-infrakit.sh
Executable file
18
projects/demo/etcd/start-infrakit.sh
Executable 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
|
Reference in New Issue
Block a user