Questions about Vagrant, a tool to create and configure lightweight, reproducible, and portable development environments though virtual machines.

learn more… | top users | synonyms

0
votes
1answer
17 views

Can Vagrant or Docker replace Clonezilla for dev machine cloning onto virtual machines?

The original question How do I migrate currently installed Ubuntu to a Virtual Machine? was insightful, but with the improvements and developments in systems like Vagrant or Docker, perhaps Clonezilla ...
0
votes
1answer
13 views

Why is this apt configuration necessary for installing Java on vagrant?

Here is my bootstrap.sh apt-get update apt-get install -y python-software-properties add-apt-repository -y ppa:webupd8team/java echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select ...
0
votes
1answer
14 views

Logkeys keylogger not working on Ubuntu box in Vagrant; appears to not see keyboard events

I'm trying to get logkeys to work on an "ubuntu/precise64" Vagrant box for a work project, but nothing is getting logged. I've spent several hours reading and trying to track down the issue. The ...
0
votes
1answer
28 views

What do these files mean and how should I replace?

In order to get into Symphony framework I had to install Virtual Box (VB) and Vagrant and SSH into the Ubuntu system I created with the default values of Puphpet. In order for my application to work ...
1
vote
1answer
34 views

Unable to forward X11 graphics from Centos on Vagrant

On my real machine (Ubuntu 14.04.3 LTS) I deployed a Vagrant virtual machine and tried to forward X11 graphics from VM to real machine. For this I added in Vagrantfile such configurations: ...
0
votes
0answers
31 views

Running into issues on Ubuntu with Laravel, Vagrant, and Homestead

When I try to run homestead, by just typing into console 'homestead', I get the message: homestead: command not found But I know homestead is installed because when I type in ...
0
votes
0answers
23 views

How can I start LXDE right after installing it?

On a fresh Ubuntu Server 15.04 I ran (from a Vagrant provision script) apt-get install lighdm lxde After this, I expected service lightdm start to display the session opening dialog. But ...
0
votes
0answers
21 views

How to stop overwrite .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml on first boot?

I'm preparing vagrant image with GUI. I want customized panel - I want few quick launchers out of the box. My source image has installed xubuntu-desktop (but the image was not booted with gui enabled ...
1
vote
1answer
51 views

Vagrant ssh (terminal freezes)

I have virtual machine with vagrant and ansible, when i connect to virtual machine with vagrant ssh, the terminal always freezes if i don't type something, the terminal is freezed. I can't type ...
0
votes
0answers
27 views

What is the most 'light' Ubuntu box I can get for a Vagrant environment? [duplicate]

I use Vagrant for Python development and the 'vanilla' desktop Ubuntu 14.04 seemed way too much for a VM. Is there any cleaner, lighter box based on the LTS version of Ubuntu? update: I launch my ...
1
vote
0answers
87 views

Installing mysql 5.6 fails on VM + vagrant

Error start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing package mysql-server-5.6 (--configure): subprocess installed post-installation script ...
1
vote
0answers
38 views

Vagrant NFS folders + Firewall rules

I am trying to configure the firewall -via the GUI tool- on 14.04 by adding rules to allow NFS folder sharing with my vagrant box. However this only works when the firewall is disabled as on vagrant ...
0
votes
1answer
128 views

Problems with running “vagrant up”

When I execute "vagrant up" I see the following error message: % vagrant up Bringing machine 'default' up with 'virtualbox' provider... [default] Clearing any previously set forwarded ports... ...
1
vote
2answers
106 views

How are the Official Ubuntu Vagrant boxes built and published to Atlas?

Every week or so, a new version of the Official Ubuntu Trusty x64 Vagrant base box for Virtual appears on Hashicorp Atlas: https://atlas.hashicorp.com/ubuntu/boxes/trusty64 Presumably, for repeatable ...
1
vote
1answer
103 views

How to script ssh-keygen with no password

I need to generate vagrant images that are configured as master/slave types. The slaves need to have SSH access to the master node, and there will be tens of thousands of slave instances. Vagrant ...
0
votes
0answers
50 views

DNS not resolving using Docker + Vagrant on Ubuntu 14.04

I've enabled my-example.com in a Docker container running apache2 on vagrant running on top of native ubunutu 14.04. In the Vagrantfile I've mapped Vagrant port 80 to 8086 on the Ubuntu host ...
0
votes
0answers
78 views

Can't Destroy Vagrant

Been running this VVV vagrant machine for a while perfectly. Now I am trying to destroy it, but can't halt, destroy or reload. Here's the error message I get on halt or destory: ==> default: ...
0
votes
0answers
19 views

vagrant 64 bit box on pc without virtual hardware acceleration

Is there any way to run docker containers in ubuntu vagrant box without virtualbox provider (dont support 64 bit).
0
votes
0answers
104 views

Installing vagrant-libvirt on Ubuntu 15.04 fails

I'm experiencing a strange issue when installing vagrant-libvirt plugin. When running vagrant plugin install vagrant-libvirt I get the following error: http://pastebin.com/fLx6Uzhq Some had ...
0
votes
0answers
112 views

Installing docker on trusty virtualbox break guest additions

Using Vagrant and Virtualbox 3.30 I stood up a trusty 64-bit VM, and installed docker. On restarting the VM later, it could not mount shared folders and failed. I found the installed guest additions ...
0
votes
0answers
80 views

V2P for a Vagrant VM results in “wrong fs type, bad option, bad superblock”

So I have created a Vagrant VM and ran it in Virtualbox which worked fine and I would like to turn into physical machine. Reason being that I want the OS to run on a different computer remotely so ...
0
votes
0answers
40 views

Can't get symlinks working

I'm trying to get symlinks for a Typo3 installation to work. My way to do it: cd /var/www/application/htdocs ln -s /var/www/application/typo3_src-7.4.0 typo3_src Check with ls -l lrwxrwxrwx 1 ...
1
vote
0answers
242 views

No suitable module for running kernal found

I am new to Linux and really hit a wall with this one. I'm basically trying to set up VirtualBox for Vagrant. I had this working yesterday but today its not after I rebuilt my pc. I have tried to ...
0
votes
1answer
43 views

MAAS - UI has only Nodes link and nodes stuck in commissioning status - maas in vagrant box

I want to install a maas server and a test server using vagrant with virtual box as provider and want to use the maas to do the power cycle for the test server. I have installed ubuntu MAAS in a ...
2
votes
1answer
1k views

Virtualbox doesn't match with guest additions version

I have installed the virtualbox from the oracle site not with my ubuntu 14.04 repository. I've already downloaded the virtualbox guest additions that match my current virtualbox which is 5.0 from the ...
1
vote
1answer
369 views

Cannot get or set to Redis on Vagrant guest from host due to “Error: Connection reset by peer”

I tried to forward guest port 6379 to host 6379 and to 16379 but with no luck. I can connect to redis from guest and set and get, and despite I also can connect to redis from host and get help, I ...
0
votes
0answers
206 views

Passwordless ssh to vagrant to load another user after vagrant ssh

I have a new user in my vagrant box(trusty64) and I am trying to ssh into it. Instead of logging into vagrant user after vagrant up, I want to login to my username. What I have done so far Created ...
0
votes
0answers
225 views

Apache2 on Virtualbox - HTTP 500

I know that there are a bunch of questions regarding this, but I can't seem to find an adequate solution for my case. I've set up an Ubuntu Trusty Thar (14.04) VM on Virtualbox using Vagrant, ...
0
votes
2answers
40 views

Community Supported Virtual HDD Ubuntu Configured for VirtualBox?

There are some websites which hosts some virtual HDD images of Ubuntu configured for VirtualBox, without need of installation. However, I cannot trust them without community support. Is there any ...
1
vote
1answer
691 views

System freeze while starting a Vagrant box via VirtualBox on Ubuntu 15.04

I'm starting a virtual machine with: vagrant up The provider is VirtualBox. After few seconds the system freezes and I can't do anything. Only a hard reset is possible. Unfortunately I can't see ...
0
votes
0answers
202 views

not able to ssh to docker instance with vagrant

This is my Dockerfile RUN adduser --gecos "" vagrant RUN echo "vagrant:vagrant" | chpasswd ADD couchbase.tar.gz /home/ RUN apt-get install librtmp0 RUN dpkg -i ...
0
votes
0answers
103 views

swap does not work in 14.04

I use vagrant to install my dev VM. The VM configured config.vm.box = "ubuntu/trusty64" config.vm.provider "virtualbox" do |vb| vb.memory = "256" end I follow How do I configure swappiness? to ...
1
vote
0answers
474 views

Running vagrant inside VirtualBox

I'm running Xubuntu 14.04 in a VirtualBox VM on Windows 7. Inside the VM, I want to use Vagrant as part of my development environment. The Vagrant setup executes successfully, until it wants the VM ...
0
votes
0answers
432 views

Virtualbox Guest Additions won't resize the screen

Im just working on a Vagrant-Setup for a Linux-Desktop System. If installed an ubuntu vagrant box (http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-i386-vagrant-disk1.box ...
0
votes
0answers
209 views

Connect to MongoDB database on Vagrant(VM) from local machine (using RoboMongo)

I have installed MongoDB on Vagrant based VM, and I can connect to it on VM. But not from my local machine. I'm using RoboMongo to connect and following are the credentials, Host - 127.0.0.1 Port - ...
1
vote
3answers
928 views

Node is installed during provisioning on vagrant but disappears upon connecting to ssh

I am really getting sick of this and I don't know what is wrong. I am using Vagrant 1.7.2 , Ubuntu 13.04 , Virtual Box 4.3 12 r93733 My host machine is Windows 8.1 Here is my node bootstrap script ...
1
vote
0answers
332 views

Symlinks: Can't create one because file exists, cant remove it because there is no such file

I posted this already on stackoverflow and it was suggested I ask here... I am running ubuntu 14.04 in vagrant on a windows 7 pc. I am running VirtualBox and git bash as administrator. I've created ...
1
vote
1answer
234 views

Unable to locate package lighttpd1.5

I try to install the issue tracking tool youtrack and the installation instruction recommends lighttpd 1.5 with it. sudo apt-get install lighttpd Will only install version 1.4 – for 1.5 I followed ...
0
votes
1answer
449 views

IPTABLES - Forwarding 80 to 8080 to vagrant's apache

I was trying to forward my 80 access to 8080 with IPTABLES without success, then I read this answer And it finally worked for me, after all the IPTABLES configurations I tried this command made it.. ...
4
votes
1answer
12k views

Vagrant up/reload error - default: Warning: Connection timeout. Retrying…

I had a fully functional vagrant for three months now, but for the last three days, I am getting errors whenever I try to run vagrant up or vagrant reload. This is the error I get when running ...
0
votes
1answer
2k views

Cannot virtualize 64bit vagrant boxes

I run Ubuntu 14.04. My CPU is Intel Core 2 Duo CPU P7450. It supports neither VT-x nor EPT. But it is 64bit. I can only virtualize 32bit boxes with success. When I try 64bit i get a never-ending ...
8
votes
3answers
9k views

install vagrant version 1.5 or greater on 14.10

Is there a way to install a newer version than in the repository? Ubuntu installs vagrant 1.4.3 at the moment, but I need at least 1.5
1
vote
0answers
2k views

“Vagrant Up” error

I entered "vagrant up" in the terminal and got this: /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.1/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /usr/local/sbin in PATH, ...
0
votes
1answer
410 views

Vagrant/VirtualBox - how to run GUI program from within VM

I successfully instead VirtualBox and Vagrant and have a trusty32 Ubuntu instance running inside a VirtualBox VM on my Windows 7 machine. However, now I am at a conceptual roadblock whereby I don't ...
1
vote
1answer
658 views

Vagrant running on port 80

I used to have my Vagrant running on a Windows machine, SSH listening to port 2222 (host: 2222, guest: 22, by default) and I used to forward port 80 to port 80 (host: 80, guest: 80, so i was able just ...
3
votes
2answers
860 views

How to install python as a user

I need to install python so I can install pip/fab which do not need root access to run and install things. I'm setting up a vagrant VM environment which needs to run fab as non root to function and I ...
1
vote
1answer
913 views

IDE for Symfony (PHP) which is able to manage Vagrant VM's over SSH

I just switched from Windows to Ubuntu on my dev Laptop. Now I'm wondering, what's the best IDE to use on Ubuntu when working with PHP? I know there are a lot of threads here about exactly that thing, ...
0
votes
1answer
652 views

How to Install NVIDIA Cuda without EULA/prompts?

I'm currently installing with the following commands: sudo apt-get install linux-headers-`uname -r` curl -O ...
0
votes
1answer
337 views

install vagrant ( homestead 2.0 ) without virtualization enabled

my computers does not have virtualization technology. I assume this could be the reason for the failure when I tried to install vagrant ( homestead 2.0 ) on top of windows. My question is - is this ...
5
votes
2answers
440 views

Vagrant box for vmware provider

Not too sure where this should be asked. If irrelevant please redirect. I'm wondering why all the Ubuntu boxes on VagrantCloud are targeted at virtualbox. I need one tailored for the vagrant vmware ...