gmacario / vagrant-debian-x64

Create a Debian VM using Vagrant
Mozilla Public License 2.0
1 stars 0 forks source link

Please test with Ubuntu #4

Closed jeremiah closed 10 years ago

jeremiah commented 10 years ago

I actually have an Ubuntu machine now (Dell XPS 13, Ubuntu 14.04). I'll try and test on this machine.

gmacario commented 10 years ago

Hello, @jeremiah,

Have you already been able to test https://github.com/gmacario/vagrant-debian-x64 on your new Ubuntu machine? If so, could you please report your findings?

Thanks, Gianpaolo

jeremiah commented 10 years ago

Using Ubuntu 14.04.

I get this error when running vagrant up;

jeremiah@spindel:~/GENIVI/vagrant-debian-x64$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again:

vm:

gmacario commented 10 years ago

Uhmm, that's wierd - I have downloaded the same box yesterday when testing https://github.com/gmacario/vagrant-debian-x64/issues/2

Let me reproduce it on an Ubuntu 14.04 host.

Are you running a 32- or 64-bit Kernel? Which is the result of

uname -a
jeremiah commented 10 years ago

Appears to be 64 bit;

Linux spindel 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

gmacario commented 10 years ago

Hello,

Trying to reproduce the problem but it worked on my Ubuntu 14.04.1 LTS (64-bit) box.

Could you please execute the following commands and report the results?

lsb_release -a
vagrant version
vagrant box add --force holms/debian80

Thanks, Gianpaolo

gmacario commented 10 years ago

FYI, here are the results on my machine:

130 gmacario@mv-linux-powerhorse:~/MYGIT/vagrant-debian-x64⟫ lsb_release -a
LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty
gmacario@mv-linux-powerhorse:~/MYGIT/vagrant-debian-x64⟫ vagrant version
Installed Version: 1.6.5
Latest Version: 1.6.5

You're running an up-to-date version of Vagrant!
gmacario@mv-linux-powerhorse:~/MYGIT/vagrant-debian-x64⟫ vagrant box add --force holms/debian80
==> box: Loading metadata for box 'holms/debian80'
    box: URL: https://vagrantcloud.com/holms/debian80
==> box: Adding box 'holms/debian80' (v0.1.0) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/holms/boxes/debian80/versions/1/providers/virtualbox.box
==> box: Successfully added box 'holms/debian80' (v0.1.0) for 'virtualbox'!
gmacario@mv-linux-powerhorse:~/MYGIT/vagrant-debian-x64
gmacario commented 10 years ago

I can also confirm that branch master does work on my Ubuntu 14.04.1 LTS machine:

gmacario@mv-linux-powerhorse:~/MYGIT/vagrant-debian-x64⟫ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'holms/debian80'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'holms/debian80' is up to date...
==> default: Setting the name of the VM: vagrant-debian-x64_default_1410275089664_72327
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2200 (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:2200
    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: Mounting shared folders...
    default: /vagrant => /home/gmacario/MYGIT/vagrant-debian-x64
gmacario@mv-linux-powerhorse:~/MYGIT/vagrant-debian-x64⟫ vagrant ssh
Linux 10 3.14-2-amd64 #1 SMP Debian 3.14.13-2 (2014-07-24) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Aug 18 07:11:18 2014 from 10.0.2.2
vagrant@10:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (jessie)
Release:        testing
Codename:       jessie
vagrant@10:~$
gmacario commented 10 years ago

@Jeremiah,

As I was able to run it on Ubuntu 14.04.1 I would propose to close this issue and suggest you to try reproducing it on Debian Jessie - See related https://github.com/gmacario/vagrant-debian-x64/issues/3 since I have no native Debian machine to test vagrant-debian-x64 on.

By looking at your error message I suspect you have installed an older version of Vagrant

jeremiah commented 10 years ago

Updated Vagrant by pulling down pre-built .deb from Vagrant site. I don't know why Debian has 1.4.3, I filled a bug in Debian to get a newer version.

In any case, the box is loading and it appears to be working!