added instance version and eth version

This commit is contained in:
cubedro
2015-02-16 23:53:32 +02:00
parent 024af1ebfb
commit 367b0ed1d2
2 changed files with 12 additions and 7 deletions

View File

@@ -56,6 +56,11 @@ cd ~
ln -s ~/opt/cpp-ethereum-build/alethzero/alethzero ~/bin/alethzero
ln -s ~/opt/cpp-ethereum-build/eth/eth ~/bin/eth
# install cloud-utils to fetch instance meta-data
sudo apt-get -y install cloud-utils
EC2_INSTANCE_ID=$(ec2metadata --instance-id)
ETH_VERSION=$(eth -V)
# add node service
cd ~/bin
[ ! -d "www" ] && git clone https://github.com/cubedro/eth-net-intelligence-api www