代码改变世界

setup_deis.sh

2015-02-10 16:23  Danny.tian  阅读(233)  评论(0)    收藏  举报

eval `ssh-agent -s`

ssh-add ~/.ssh/deis

ssh-add ~/.vagrant.d/insecure_private_key

export DEISCTL_TUNNEL=172.17.8.100

vpnc

vagrant up

deisctl list

deisctl config platform set sshPrivateKey=~/.ssh/deis

deisctl config platform set domain=local3.deisapp.com

 

deisctl config ubuntu-debootstrap set image=chasedream.cloudapp.net:5000/library/ubuntu-debootstrap:14.04

deisctl config controller set image=chasedream.cloudapp.net:5000/deis/builder:latest

deisctl config controller set image=chasedream.cloudapp.net:5000/deis/cache:latest

deisctl config controller set image=chasedream.cloudapp.net:5000/deis/controller:latest

deisctl config database set image=chasedream.cloudapp.net:5000/deis/database:latest

deisctl config logspout set image=chasedream.cloudapp.net:5000/deis/logger:latest

deisctl config logspout set image=chasedream.cloudapp.net:5000/deis/logspout:latest

deisctl config publisher set image=chasedream.cloudapp.net:5000/deis/publisher:latest

deisctl config registry set image=chasedream.cloudapp.net:5000/deis/registry:latest

deisctl config router set image=chasedream.cloudapp.net:5000/deis/router:latest

deisctl config store-daemon set image=chasedream.cloudapp.net:5000/deis/store-daemon:latest

deisctl config store-gateway set image=chasedream.cloudapp.net:5000/deis/store-gateway:latest

deisctl config store-monitor set image=chasedream.cloudapp.net:5000/deis/store-monitor:latest

deisctl config store-metadata set image=chasedream.cloudapp.net:5000/deis/store-metadata:v1.2.2

 

deisctl install platform

vpnc-disconnect

deisctl start platform