Last active
June 22, 2016 21:39
-
-
Save zehicle/116315353e6d19be26afacbab28186b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright RackN 2016 | |
# Apache 2 License | |
ipa="$(ip a | grep eth0 | grep -oe 'inet .* brd' | cut -d ' ' -f2)" | |
sudo apt-get update | |
sudo apt-get install git python python-pymongo python-pycurl -y | |
cd ~ | |
mkdir digitalrebar | |
git clone https://github.com/rackn/digitalrebar-deploy digitalrebar/deploy | |
ln -s ~/digitalrebar/ digitalrebar/deploy/compose/digitalrebar | |
cd digitalrebar/deploy | |
./run-in-system.sh --deploy-admin=local --access=HOST --wl-kubernetes --admin-ip=$ipa | |
echo "Done in $ipa" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to have a machine with at least 16 Mb of RAM and Ubuntu 16.04