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
0answers
72 views

vagrant up throws The following SSH command responded with a non-zero exit status error for Laravel Homestead

I'm trying to install Laravel Homestead on my Ubuntu 16.04. But I get this error when I want to run command "vagrant up": milad@miladlenovo:~/Homestead$ vagrant up Bringing machine 'default' up with '...
1
vote
1answer
48 views

Failing to install ruby gems required by vagrant plugin install vagrant-proxyconf

I have an Ubuntu 16.04 machine behind a proxy. From this machine I am able to use the proxy as expected using the http_proxy and https_proxy environment variables. However, when a new vagrant box is ...
0
votes
0answers
67 views

While installing ansible on my third machine this error occurs: Command “/usr/bin/python -u -c ”import setuptools, tokenize;"

I didn't understand what type of error this is. Because when the installation is complete as usual I try ansible comand and it said command not found: [vagrant@db ~]$ sudo pip install ansible ...
0
votes
0answers
10 views

can't edit the tomcat7 file in vagrant

I'm using Vagrant and I try to edit the tomcat7 file, but I a permission denied error. Here's my Vagrantfile: Vagrant.configure(2) do |config| config.vm.box = "hashicorp/precise32" config.vm....
0
votes
0answers
34 views

NFS doesn't seem to work because of files not being found

I'm using Vagrant inside a VM (VMware with Ubuntu 16.04 on Win10) and the vagrant box files from this tutorial. When changing the projectname in all those files and fixing 1,2 small erros I used ...
0
votes
0answers
31 views

vagrant up --provider=libvirt (kvm)

Like to get vagrant working with qemu/kvm. I have tried the instructions here: http://unix.stackexchange.com/questions/222427/how-to-create-custom-vagrant-box-from-libvirt-kvm-instance/222907 and ...
0
votes
1answer
17 views

Sync guest folder to host machine in vagrant

I want to sync a folder from my guest system ( which is ubuntu ) to my local system. I tried to share the folder from my host where I created a symlink to the guest folder but the changes doesn't sync ...
0
votes
0answers
115 views

Unable to start Google Chrome 51.0.2704.84 on 14.04.4 64 bit

I am unable to run Chrome 51.0.2704.84 with Xvfb on Ubuntu 14.04.4, 64 bit. I have installed this VM on Windows 7 host with Vagrant and Virtualbox as provider. Virtualbox Version: v5.0.20 r106931. ...
0
votes
0answers
77 views

Firefox 47 not starting on Ubuntu 14.04.4 LTS64 bit Trusty

I am unable to run Firefox 47 with Xvfb on Ubuntu 14.04.4 LTS 64 bit Codename Trusty. I have installed this VM on Windows 7 host with vagrant and Virtualbox as provider. I have problem running google-...
-1
votes
1answer
42 views

Vagrant ubuntu/trusty64 apache2.4.7 not showing *.css files

I have virtual environment in Vagrant ubuntu/trusty64. Used phalcon framework. Have install > apache2 -v Server version: Apache/2.4.7 (Ubuntu) Server built: Jan 14 2016 17:45:23 /etc/apache2/...
0
votes
1answer
50 views

How to upgrade ubuntu in side virtual box installed using vagrant?

I have Ubuntu 14 installed to my virtual machine(Virtual Box) using vagrant. Now I want to upgrade it to Ubuntu 16. I have an ISO image of Ubuntu 16 with me. Is it possible to upgrade to latest ...
0
votes
0answers
17 views

laravel 4.2 environment not working with homestead on ubuntu

I created this question in stackoverflow too. Anyhow I know there's a post in ubuntu with the same question and they mentioned upgrade vagrant but I am already using 1.8.1 but no luck. How to make ...
0
votes
1answer
497 views

When using vagrant Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)

I am trying to install open edx with ubunty 16.04 and I get this error There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is ...
0
votes
0answers
55 views

Ubuntu on vagrant and iptables

I have an ubuntu desktop 14.04 running on a vagrant VM (virtualbox). I am trying to forward port 25 to port 2525 and I have executed the following commands: sudo sysctl net.ipv4.ip_forward=1 sudo ...
0
votes
0answers
24 views

getting direct to /home/vagrant

I have installed Ubuntu machine on VB via vagrant. The problem is when I login to machine.I have to run cd command twice.e.g cd /home cd /vagrant to access directories rather than cd /home/vagrant ...
0
votes
0answers
118 views

Vagrant vm box ubuntu/trusty64 installs Ubuntu 12.04 instead of 14.04

I use Vagrant 1.8.1 and VirtualBox 5 on Windows 7 x64 and in my Vagrant file I have Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.hostname = "myhost" config.vm....
0
votes
0answers
52 views

Sendmail in my hosts file.

I have a question. So today i installed sendmail on my vagrant box which uses ubuntu. Now I'm trying to configure it properly by following a tutorial. I'm stuck at the part where i have to add this ...
0
votes
1answer
235 views

PHP7 does not install on Ubuntu with PPA

I have a problem. I want to install PHP7 on my Ubuntu Vagrant default 64Bit Machine, using the normal method specified everywhere: sudo apt-get install python-software-properties sudo LC_ALL=C.UTF-8 ...
1
vote
2answers
2k views

Cannot reinstall virtualbox on ubuntu 16.04

I just upgraded to ubuntu 16.04 from 15.10 and my virtual box doesn't want to start anymore. I tried purging virtualbox, virtualbox-dkms and vagrant from my system and it seems to work (I'm not a ...
3
votes
1answer
2k views

vagrant box for ubuntu/xenial64 and putty on Windows 10 host

I am using vagrant to run some virtual machines on my personal laptop (Windows 10). I have already installed ubuntu 14.04 and centos on this laptop and all works as expected. Today I tried to ...
4
votes
3answers
5k views

Network settings fail for ubuntu/xenial64 Vagrant box

With the Official Ubuntu 16.04 LTS (Xenial Xerus) Vagrant box image (on VirtualBox) I have problems with basic network settings: My Vagrantfile: Vagrant.configure(2) do |config| config.vm.box = '...
0
votes
1answer
41 views

How to mount directory from vagrant box on local FS using SSHFS?

I want to mount the / of the vagrant box on to the local fs using sshfs. the command i used was sshfs hadoopuser@192.168.0.106:/ . The authenticity of host '192.168.0.106 (192.168.0.106)' can't be ...
0
votes
0answers
148 views

How to simulate Ubuntu ARM image on Raspberry Pi with Virtualbox?

How do you run the Ubuntu ARM image in Virtualbox (ultimately managed through Vagrant) for testing a Raspberry Pi configuration? I can find a ton of guides for running various pre-built Raspberry Pi ...
0
votes
0answers
24 views

How will be fix mistake with vagrant?

I'm intstall vagrant by guade from link https://www.godaddy.com/garage/tech/config/install-vagrant-ubuntu-14-04/. And if I'm write "vagrunt up" and have error message: The guest machine entered ...
1
vote
0answers
19 views

Vagrant not shutting down gracefully when shutting down computer

I am working with vagrant 1.7.4, which i use together with lxc 1.1.5 on ubuntu 15.10. I was working with it the last few weeks and never did vagrant halt before shutting down my computer. Now it ...
0
votes
1answer
311 views

Configure private network with static IP for Snappy on Vagrant

I am trying to run Vagrant box ubuntu/ubuntu-15.04-snappy-core-stable with two adapters NAT and Host-Only but that does not work with this config: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant....
0
votes
0answers
72 views

install composer in no-interactive mode

Because I create a VM Vagrant Ubuntu 15 with packer tool, I would like to install composer in my Ubuntu system with no interactive mode. For that I try this : curl -sS https://getcomposer.org/...
1
vote
1answer
39 views

Vagrant error file not found grub rescue

Before running a full release upgrade on my Ubuntu 12.04 to bring it to 14.04, I did vagrant package --output backup.box to backup my box. The release upgrade did not go right, so I deleted the ...
2
votes
1answer
104 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
37 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
51 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
30 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 ...
2
votes
1answer
465 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: Vagrant....
0
votes
0answers
118 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 ~/.composer/vendor/bin/...
0
votes
0answers
120 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
89 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 ...
3
votes
2answers
481 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
28 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
219 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
129 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
421 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... [...
7
votes
2answers
1k 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
586 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
82 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
188 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
28 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
155 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
177 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
133 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
47 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 ...