yudai / cf_nise_installer

Cloud Foundry v2 installer with Nise BOSH and Vagrant
Apache License 2.0
84 stars 57 forks source link

stdin: is not a tty #125

Closed jeffkit closed 9 years ago

jeffkit commented 9 years ago

I am on Ubuntu 10.04, try to run cf_nise_installer, but got and error:

# bash < <(curl -s -k -B https://raw.githubusercontent.com/yudai/cf_nise_installer/${INSTALLER_BRANCH:-master}/scripts/bootstrap.sh)
/usr/bin/git
Initialized empty Git repository in /home/jeff/cf_nise_installer/.git/
remote: Counting objects: 777, done.
remote: Total 777 (delta 0), reused 0 (delta 0), pack-reused 777
Receiving objects: 100% (777/777), 136.40 KiB, done.B/s   
Resolving deltas: 100% (416/416), done.
Already on 'master'
+ rvm
+ sudo apt-get update

...................... 

......................

+ git clone https://github.com/sstephenson/rbenv.git /root/.rbenv
Initialized empty Git repository in /root/.rbenv/.git/
remote: Counting objects: 2038, done.
remote: Total 2038 (delta 0), reused 0 (delta 0), pack-reused 2038
Receiving objects: 100% (2038/2038), 337.72 KiB | 9 KiB/s, done.
Resolving deltas: 100% (1267/1267), done.
+ git clone https://github.com/sstephenson/ruby-build.git /root/.rbenv/plugins/ruby-build
Initialized empty Git repository in /root/.rbenv/plugins/ruby-build/.git/
remote: Counting objects: 4395, done.
remote: Total 4395 (delta 0), reused 0 (delta 0), pack-reused 4395
Receiving objects: 100% (4395/4395), 795.19 KiB | 48 KiB/s, done.
Resolving deltas: 100% (2270/2270), done.
+ echo 'export PATH="$HOME/.rbenv/bin:$PATH"'
+ echo 'eval "$(rbenv init -)"'
+ source /root/.profile
++ '[' /bin/bash ']'
++ '[' -f /root/.bashrc ']'
++ . /root/.bashrc
+++ '[' -z '' ']'
+++ return
++ mesg n
stdin: is not a tty
jeffkit commented 9 years ago

Fix it when use sudo.