mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
demo: Add script to start infrakit
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
f46881c1a1
commit
9878cabd1e
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
|
Loading…
Reference in New Issue
Block a user