Skip to content

Vagrant Up hangs after creating droplet + user account... #244

Description

@AlphaDork

Vagrant up seems to hang after creating the user account. I can "vagrant ssh" into the box and a droplet is created correctly - but the original command never comes back from the "vagrant up" command. Also if I include a provisioning script - it's never executed (I have to vagrant up --provision that).

I am running this from a Win7x64 box if that's an issue.

C:\Dev\vagrant\xen-jekyll>vagrant up
Bringing machine 'default' up with 'digital_ocean' provider...
   ==> default: Using existing SSH key: Vagrant
   ==> default: Creating a new droplet...
   ==> default: Assigned IP address: <ip-address-censored>
   ==> default: Private IP address: <ip-address-censored>
   Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress
   Enter passphrase for <path-to-key-file-censored>
   ==> default: Creating user account: ubuntu...*

Vagrant file is below:

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.

Vagrant.configure("2") do |config|

  config.vm.hostname = 'MSPLDTEST'
  # Alternatively, use provider.name below to set the Droplet name. config.vm.hostname takes precedence.

  config.vm.provider :digital_ocean do |provider, override|
    override.ssh.username = 'ubuntu'
    override.ssh.private_key_path = '~/.ssh/id_rsa_mindsplode'
    override.vm.box = 'digital_ocean'
    override.vm.box_url = "https://github.com/devopsgroup-io/vagrant-digitalocean/raw/master/box/digital_ocean.box"

    provider.token = '<token-censored>'
    provider.image = 'ubuntu-16-04-x64'
    provider.region = 'nyc2'
    provider.size = '1gb'
    provider.private_networking = true
    provider.ssh_key_name = Vagrant
    provider.setup = true
  end
end

TIA!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions