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
4 views

Unable to install nfs-server in ubuntu 13.04

I am trying to install nfs-kernel-server to setup a vagrant box on my VM but I keep getting this issue. Running, sudo apt-get update sudo apt-get install nfs-common didn't help. Any help or ...
1
vote
2answers
18 views

Unable to scp files to Ubuntu 14 with Vagrant

I'm trying to scp files from my machines desktop into my vagrant box but I seem to keep running into this error. ssh: connect to host 127.0.0.1 port 22: Connection refused lost connection I ...
2
votes
0answers
53 views

“unable to make backup link of `./usr/share/tomcat7/bin/daemon.sh' before installing new version: Operation not permitted”

I've ran this many times but today it seems to be failing first: sudo apt-get update That works successfully. Running apt-get install fails when trying to back up the daemon.sh sudo apt-get ...
0
votes
0answers
52 views

vagrant, port forwarding, and iptables

Background: I am a newby learning Python and Django. Because my machine is Windows 8.1, I installed Vagrant with Precise 64. At first things were fine, then suddenly, NONE of my projects in the VM ...
0
votes
1answer
11 views

Packages installed by default on Ubuntu Cloud Image?

I am running Ubuntu in a virtual machine through Vagrant using the "ubuntu/trusty64" box. Based on the information on https://vagrantcloud.com/, this box runs a "Cloud Image" of Ubuntu. I'm having ...
0
votes
0answers
84 views

VirtualBox doesn't run x64 VMs with Vagrant on Ubuntu 12.04 x64

When I execute 'vagrant up' the process end with 'Connection Timeout...' messages. Trying to solve my problem I added 'Ubuntu_64' to config file and enabled GUI, but no results. The VMs which were ...
1
vote
1answer
214 views

Permission when running script in Vagrant using Vagrantfile

I have created a vagrant box for running rails applications and I have managed to create it manually. My next step was to create a shell script that I can include in the Vagrantfile so when creating ...
0
votes
0answers
31 views

Unable to save via Samba share to Ubuntu VM

I have a Ubuntu Virtual Machine running with VirtualBox on my Win7 laptop and I connect to the filesystem in Windows via a Samba share. This all works fine. However, I am unable to edit a file on ...
0
votes
1answer
47 views

Vagrant ubuntu hangs kernel selection

I on newbie on Vagrant and have a problem. I use windows7 and virtualbox 4.2.12 vagrant work in virtual Ubuntu 13.10 and Ubuntu host has 1 cpu 3.5 gb memory 20 Gb disk and vagrant version is 1:1.3.5 ...
8
votes
1answer
570 views

Shutting down all VirtualBox (vagrant) VMs in one easy to use bash command (that can be put into a bash file)

I use vagrant for development. I forget to shut down a few of the VMs. When I go to log out of my host machine, the Ubuntu shutdown process appears to hang. Might there be a way to script a close of ...
1
vote
0answers
87 views

Cannot run jBoss on ubnutu 12.04

I am trying to install jBoss application server on Ubuntu 12.04. I am using Vagrant. Here is what I am getting: vagrant@precise32:/usr/share/jboss-as-7.1.1.Final/bin$ ./standalone.sh ...
0
votes
1answer
201 views

Ubuntu 12.04 Cloud Images Hang on First Boot in Virtualbox

I've run across an annoying bug with the recent official builds of Precise (both 32 and 64 bit versions) for virtualbox found here: http://cloud-images.ubuntu.com/vagrant/precise/current/ When these ...
1
vote
0answers
172 views

Running gradlew produces “: No such file or directory”

We are two developers running Vagrant VMs with Ubuntu 12.04 installed. Running ./gradlew to execute our build script works fine for me, but when he runs the same command he gets the error: : No such ...
0
votes
0answers
104 views

Cannot mount /sys/fs/cgroup 13.10 vagrant box

I have a very weird problem with my Ubuntu box, it shows the errors: An error occurred while mounting /sys/fs/cgroup. keys:Press S to skip mounting or M for manual recovery. An error occurred while ...
1
vote
2answers
390 views

Vagrant fails to load because grub2 waits for kernel selection after ungraceful shutdown

I have a Vagrant box with Ubuntu 12.04 LTS. Sometimes after forcing a shutdown (e.g. because the machine became unresponsive) the vagrant box fails to boot the next time. $ vagrant up Bringing ...
0
votes
2answers
162 views

Booting ubuntu via VirtualBox on Win7 goes to black screen after this prompt

![GNU GRUB Screen]http://imgur.com/oUg6f5S 99% of the time The first option is selected by VirtualBox in under 3 seconds, the other 1% it pauses for me to actually choose. No matter the option I ...
1
vote
1answer
811 views

Well-made vagrant box for Ubuntu 13.10

I am currently using a vagrant box provided among cloud images for Ubuntu 13.10 32 bit, but it has a number of issues I would like to avoid, relative for instance to the "official" vagrant image for ...
4
votes
1answer
2k views

Why is NFS not allowing me to mount a share?

The Host I have a host, running Ubuntu 12.04, at 10.0.0.202. It provides an NFS share for other machines on the network. Here is the contents of /etc/exports: /media/storagedrive ...
0
votes
1answer
635 views

Vagrant Up and annoying NFS password asking

Sorry for the language mistakes I've made. I'm trying to prevent vagrant asking the password when it mounts shared folders by NFS: [server] Exporting NFS shared folders... Preparing to edit ...
2
votes
2answers
99 views

hosts file and unclear behavior. How to make real alias?

I'm trying to create alias for my local website which is runned by vagrant(virtual box), hence I want redirect any requests from site.ru to 192.168.10.10/site.ru via /etc/hosts file. In the hosts file ...
3
votes
1answer
924 views

Best way add NOPASSWD vagrant user?

What is the better way add NOPASSWD with vagrant user? Way 1: groupadd -r admin usermod -a -G admin vagrant cp /etc/sudoers /etc/sudoers.orig sed -i -e '/Defaults\s\+env_reset/a ...
2
votes
1answer
445 views

How Can I Open A Port On Ubuntu?

Ubuntu 13.04: No LSB modules are available Distributor ID: Ubuntu Description: Ubuntu 13.04 Release: 13.04 Codename: raring I'm attempting to open port 8888 on an Ubuntu VM that I'm ...
1
vote
1answer
345 views

juju local openstack deploy - how to reduce the memory/number of lxc containers?

I'm trying to setup openstack with vagrant inside a virtualbox guest, by following the juju instructions in the ubuntu cloud infrastructure wiki page and this askubuntu page. My github project is ...
2
votes
3answers
444 views

Run a specific sudo command without a password in Ubuntu 13.10

I would like to run vagrant without being prompted for a password. As this post suggests, I used visudo to add the following line to my sudoers file. john-moz ALL=(ALL) NOPASSWD: /usr/bin/vagrant ...
0
votes
0answers
99 views

Files with [ square brackets ] in the name have been deleted from ~ via apt-get

The day before yesterday I uninstalled virtualbox 4.1.18 from the repo and installed virtualbox-4.2 from the virtualbox website as well as vagrant from the vagrant site. I installed the two new .debs ...
0
votes
0answers
151 views

Errors were encountered while processing: zram-config lubuntu-desktop

I'm trying to setup a vagrant development machine with a saucy 64 guest using this image: http://cloud-images.ubuntu.com/vagrant/saucy/current/saucy-server-cloudimg-amd64-vagrant-disk1.box After ...
0
votes
2answers
388 views

12.04 in VirtualBox doesn't execute any custom startup script

I'm trying to use Vagrant for our development process, mostly web development on a LAMP system. On shutdown of the VM I dump the content of the MySQL database to an SQL file in the shared folder. This ...
1
vote
1answer
1k views

cntlm: No proxy service ports were successfully opened

I'm trying to setup CNTLM on an Ubuntu VM and keep hitting a brick wall with the above error message. Here are the steps I've taken: Install CNTLM $ ls cntlm_0.92.3-0ubuntu0.1_i386.deb cntlm.conf $ ...
0
votes
1answer
94 views

Vagrant boxes as OpenStack images

I have a node with OpenStack installed on it. Currently I have one Ubuntu image file. . Can I use www.vagrantbox.es .box files for OpenStack? I'm starting a cloud hosting company.
0
votes
2answers
2k views

Installing Ubuntu 13.04 (64-bit) virtual machine with Vagrant on OS X provides only 4 Gb disk space

I used the Vagrant image for Ubuntu 13.04 64-bit from http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box to create a new virtual machine on my ...
1
vote
1answer
1k views

Trouble installing latest Vagrant

Thanks in advance for any help I can get. I'm on raring. I require the latest Vagrant in a work project and have followed these steps: $ apt-get install vagrant (installs 1.0.3) Downloaded the ...
2
votes
1answer
2k views

How do I trigger rsync on file modification?

I can sync folders with rsync -avz /directory /target, now I wish to do it if I changed a file in /directory so rsync should be called automatically. I am using Virtual Box and the shared folder of ...
0
votes
1answer
781 views

Connecting to NAT virtualbox guest from bridged network

I've setup a Virtualbox Ubuntu 12.04 server using Vagrant. I can ssh to it and even ping my desktop from it. What doesn't work is to ping the guest OS from my desktop. I've tried to flush the ...
0
votes
1answer
2k views

Ubuntu : unattended apt-get upgrade : GRUB install dialog [duplicate]

People have run into this issue before : How to select GRUB install device What do I select for "GRUB install devices" after an update? but they weren't looking for an unattended ...
8
votes
3answers
4k views

Cannot ssh into new Vagrant install of 13.04

I used the Vagrant image for 13.04 from http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box to create a new virtual machine and tried to connect to it ...
1
vote
1answer
2k views

how to map a folder in my VM to my local machine

I've got a devbox VM running via vagrant and virtualbox. I'd like to have it just run as a web server and do all my work on my local machine (where my dev tools are). I've seen this done before, ...
7
votes
2answers
8k views

How can I increase disk size on a Vagrant VM?

I have a VM managed by Vagrant using VirtualBox on a Ubuntu host server. My Vagrant box uses the Puppetlabs Debian 6.0.7 basebox, which uses LVM for its root partition. By default the disk is 8GB ...
3
votes
3answers
2k views

Errors with Vagrant and Ubuntu 12.10 with RVM

Installed Vagrant via sudo apt-get install vagrant, and every time I try to run some vagrant command, such as vagrant init precise32 http://files.vagrantup.com/precise32.box I get the following error: ...
0
votes
1answer
2k views

virtualbox kernel package is not supported while install vagrant

I'm installing the vagrant with sudo apt-get install. This error I got: ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for ...
1
vote
2answers
2k views

Run vagrant up with highest VirtualBox version

I've already installed VirtualBox version 4.1.18_Ubuntu from this source: deb http://download.virtualbox.org/virtualbox/debian quantal contrib Apparently the above source was used to install ...
3
votes
1answer
4k views

Does Ubuntu 12.04 LTS 32-bit have graphic user interface?

I am new to Virtualbox and Vagrant. I followed Vagrant Get Started Guide, and have a VirtualBox running Ubuntu 12.04 LTS 32-bit. http://docs.vagrantup.com/v2/getting-started/index.html However, ...
2
votes
2answers
219 views

How can I install Vagrant on 12.04 if ruby-json is already installed?

I tried to install the software , which are in software center and new software like virtual box, but it is showing the error: Items cannot be installed or removed until the package catalog is ...
1
vote
0answers
22 views

ubuntu in vagrant, apt-get update failed [duplicate]

I set a vagrant vm, and try to apt-get update,get this Fetched 1,358 kB in 1min 19s (17.1 kB/s) W: GPG error: http://us.archive.ubuntu.com precise Release: The ...
12
votes
3answers
7k views

How to install Vagrant with manual VirtualBox 4.2?

How can I install Vagrant 1.0.6. with an already manually installed VirtualBox 4.2.6 on Ubuntu 12.04? All of my known ways fail: Download *.deb file for 64bit and dpkg --install vagrant_x86_64.deb ...
8
votes
4answers
6k views

How do I fix name service for Vagrant client?

I am new to Ubuntu (having just installed Ubuntu 12.10) and want to start developing with it. So I have installed Vagrant, downloaded lucid64.box, initialized, started it up and accessed it via ssh. ...
0
votes
1answer
2k views

Intermittent `Error: cannot open display: localhost:10.0` with Vagrant

I've set up a Vagrant VM with X forwarding. I'm connecting to it with the following command (to improve X performance): ssh -c arcfour,blowfish-cbc -XC vagrant@VM-NAME This works fine; I log into ...
4
votes
1answer
5k views

Vagrant: VirtualBox: Headless Ubuntu: How to set up bridged networking?

I am trying to set up a Vagrant VirtualBox (v4.2.4) virtual machine with a Ubuntu "box" which I got from www.vagrantbox.es. I was able to use Vagrant to set it up as a headless box and start it, and ...
8
votes
2answers
2k views

What is the difference between vagrant and juju?

Are they both solving the same problem? Or are they for two different sets of problems? If so for what i it better to use vagrant, and for what better to use juju?
7
votes
4answers
6k views

Where can I find Vagrant packages?

Vagrant is a tool to build and manage virtual machines for developers. It has a getting started on Ubuntu guide that contains iffy-looking suggestions like $ sudo ln -s /usr/bin/ruby1.8 ...