Issue 15639

default: stdin: is not a tty

15639
Reporter: bko
Type: Bug
Summary: default: stdin: is not a tty
Priority: Trivial
Status: ToDo
Created: 2014-05-23 13:53:58.291
Updated: 2014-05-23 13:55:18.566
        
Description: $ vagrant up gives this error while running
config.vm.provision "shell", inline: "sudo cp -r /home/vagrant/.ssh /root/.ssh"

    lisn bko $ vagrant up
    Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Importing base box 'hashicorp/precise32'...
    ==> default: Matching MAC address for NAT networking...
    ==> default: Checking if box 'hashicorp/precise32' is up to date...
    ==> default: Setting the name of the VM: ubuntu_default_1400844779488_78264
    ==> default: Clearing any previously set network interfaces...
    ==> default: Preparing network interfaces based on configuration...
        default: Adapter 1: nat
        default: Adapter 2: hostonly
    ==> default: Forwarding ports...
        default: 22 => 2222 (adapter 1)
    ==> default: Running 'pre-boot' VM customizations...
    ==> default: Booting VM...
    ==> default: Waiting for machine to boot. This may take a few minutes...
        default: SSH address: 127.0.0.1:2222
        default: SSH username: vagrant
        default: SSH auth method: private key
        default: Warning: Connection timeout. Retrying...
    ==> default: Machine booted and ready!
    ==> default: Checking for guest additions in VM...
        default: The guest additions on this VM do not match the installed version of
        default: VirtualBox! In most cases this is fine, but in rare cases it can
        default: prevent things such as shared folders from working properly. If you see
        default: shared folder errors, please make sure the guest additions within the
        default: virtual machine match the version of VirtualBox you have installed on
        default: your host and reload your VM.
        default:
        default: Guest Additions Version: 4.2.0
        default: VirtualBox Version: 4.3
    ==> default: Setting hostname...
    ==> default: Configuring and enabling network interfaces...
    ==> default: Mounting shared folders...
        default: /vagrant => /Users/bko/dev/git/ala-install/vagrant/ubuntu
    ==> default: Running provisioner: shell...
        default: Running: inline script
    ==> default: stdin: is not a tty

However the command seems successful because it's possible to log in 10.1.1.2 as root without using password.]]>