Re: [vagrant-up] Re: how do i get a windows VM

2020-09-15 Thread Torben Knerr
I can recommend Stefan Scherer's Boxes from here: https://app.vagrantup.com/StefanScherer Cheers, Torben On Fri, Sep 11, 2020 at 1:07 PM dnmo...@gmail.com wrote: > Microsoft offers free, limited trial instances of Windows 10 directly from > their dev center for a few different Hypervisors >

Re: [vagrant-up] Thin provisioning on Boxes

2019-03-31 Thread Torben Knerr
Hi Raj, using "linked clones" is probably what you are looking for. I have this enabled for all my boxes via the global Vagrantfile: $ cat ~/.vagrant.d/Vagrantfile Vagrant.configure("2") do |config| # always use linked clones config.vm.provider "virtualbox" do |v| v.linked_clone = true

Re: [vagrant-up] different box by provider?

2017-08-07 Thread Torben Knerr
Hi, you can override it in a provider specific block using the 2nd block argument, e.g.: config.vm.provider :virtualbox do |vbox, override| override.vm.box = "some/box" end config.vm.provider :libvirt do |libv, override| override.vm.box = "other/box" end Cheers, Torben On

Re: [vagrant-up] how exactly to use rsync to speed up Vagrant?

2017-07-25 Thread Torben Knerr
Hi Robert, interesting thread on improving vagrant performance in general! +1 On you sudo problem: I assume you tried sudo e​ cho "net.ipv6.conf.all.disable_ipv6=1" | tee -a /etc/sysctl.conf Where it should be: echo "net.ipv6.conf.all.disable_ipv6=1" | ​ sudo​ tee -a /etc/sysctl.conf Does

Re: [vagrant-up] [ANN] vagrant-vmware-fusion/workstation 4.0.17

2017-03-06 Thread Torben Knerr
gt; the `linked_clone` option seen in the VirtualBox provider configuration to > enable/disable linked clones. > > - Chris > > > On Tuesday, February 28, 2017 at 12:35:56 PM UTC-8, Torben Knerr wrote: >> >> Hi Chris, >> >> just wondering: wasn't linked clones

Re: [vagrant-up] [ANN] vagrant-vmware-fusion/workstation 4.0.17

2017-02-28 Thread Torben Knerr
Hi Chris, just wondering: wasn't linked clones already supported for VMware Workstation already ever since Vagrant 1.8 came out? Or is there anything new to this? Cheers, Torben Am 28.02.2017 6:25 nachm. schrieb "Chris Roberts" : > Hi everyone, > > I'm pleased to

[vagrant-up] vagrant-vmware-workstation plugin with ssh port forwarded via 127.0.0.1?

2017-01-16 Thread Torben Knerr
Hi everyone (who actually uses the vagrant-vmware-workstation plugin). I'm currently struggling with the vagrant-vmware-workstation plugin and who it establishes the ssh connection. In contrast to the virtualbox provider, it does not use 127.0.0.1 with the auto-forwarded port for connecting, but

Re: [vagrant-up] Trouble creating a simple Linux Desktop on a VB VM

2017-01-13 Thread Torben Knerr
Hi William, the Vagrantfile looks good at first sight, but I have never used the bento/fedora-24 box yet If you are fine with Ubuntu and keen to use Chef for provisioning your linux desktop, you might wanna have a look at this "template project", which includes testing and self-updateability:

Re: [vagrant-up] Should I use a box or build a common Vagrantfile?

2016-11-19 Thread Torben Knerr
Hi Chris, here is a slightly different approach: instread of using packer to create a new vagrant basebox, you could simply export the virtualbox .ova file after vagrant up. Example here: https://github.com/tknerr/linus-kitchen#packaging I use this method to build a full .ova image for each

Re: [vagrant-up] Vagrantfile retrieve vagrant parameter call

2016-10-18 Thread Torben Knerr
Hi Eric, if you don't mind installing an extra plugin, then vagrant-triggers might be your friend: https://github.com/emyl/vagrant-triggers If it's only for that simple case (i.e. detecting "up", but no other state transitition depedencies), then parsing the commandline args via ARGV[0] might be

Re: [vagrant-up] Idea: immutable base-disk images and per-VM differencing images

2016-08-13 Thread Torben Knerr
Yes, see the linked clones section here: https://www.vagrantup.com/docs/virtualbox/configuration.html HTH, Torben Am 13.08.2016 8:11 nachm. schrieb "Edward Evans" : > Was this ever implemented and if so can you point me to any details? > Tia > > -- > This mailing list is

Re: [vagrant-up] Is it possible to run 64-bit Ubuntu as a guest inside an Ubuntu 64 bit guest running on Windows 10

2016-07-08 Thread Torben Knerr
With VirtualBox you can run only a 32bit guest inside 64bit guest, not 64bit in 64bit You might have some luck with VMware though... Cheers, Torben Am 08.07.2016 1:39 nachm. schrieb "Paul Barclay" : > I have seen loads of post about running 64 bit operating systems as a

Re: [vagrant-up] Starting Java process using shell provisioner

2016-06-15 Thread Torben Knerr
maybe try `nohup java -jar demo.jar &` instead See here: http://linux.101hacks.com/unix/nohup-command/h HTH, Torben On Wed, Jun 15, 2016 at 10:57 AM, Jeroen Nieuwenhuis wrote: > I'm trying to start a Java process a using shell provisioner. My > provisioner runs the

Re: [vagrant-up] Multiple provisioners in a Vagrantfile with switch/case hack on ARGV[2] ?

2016-01-12 Thread Torben Knerr
Hi Ben, very welcome. As you are speaking of dev environments: if you are interested in setting up Linux Desktop based developer VMs as well, this might be interesting for you too: https://github.com/tknerr/linus-kitchen (just pattern-wise, not necessarily content-wise) Cheers, Torben On

Re: [vagrant-up] Multiple provisioners in a Vagrantfile with switch/case hack on ARGV[2] ?

2016-01-11 Thread Torben Knerr
Hi Ben, the basic mechanism is there, Vagrant should be smart enough about figuring out the best provider for every VM without needing to pass the "--provider" flag explictly: https://github.com/mitchellh/vagrant/issues/3812 As for the ARGV[2] parsing: the docker provider is a bit of a special

Re: [vagrant-up] Re: silly apt cache trick

2015-12-30 Thread Torben Knerr
You mean this one? https://github.com/tmatilai/vagrant-proxyconf/ Am 30.12.2015 3:04 nachm. schrieb "pixel fairy" : > and theres this, > https://github.com/fgrehm/vagrant-cachier > > On Tuesday, December 29, 2015 at 10:52:13 PM UTC-8, pixel fairy wrote: >> >> its easy to

Re: [vagrant-up] bundle for windows users?

2015-12-30 Thread Torben Knerr
​There is bills-kitchen, which is sort of this, but a little more, yet without virtualbox: https://github.com/tknerr/bills-kitchen It's not en par with the latest Vagrant / ChefDK versions yet... (i need a bit more spare time ;-)) Cheers, Torben​ On Wed, Dec 30, 2015 at 8:20 AM, pixel fairy

[vagrant-up] VMWare Plugin with VMware Workstation 12 Pro or Player?

2015-12-23 Thread Torben Knerr
Hello everybody, first of all, congrats to the latest 1.8 release! :-) Quick question: for the vmware plugin, do I need a) VMware Workstation 12 Pro or would b) VMware Workstation 12 Player enough? Have a nice christmas time, Torben -- This mailing list is governed under the

Re: [vagrant-up] [Multi-Provider] Hybrid Environment - How to resolve dynamically generated addresses for instances on EC2, Azure, etc. from local VMs?

2015-11-04 Thread Torben Knerr
Hi Joe, the vagrant-triggers plugin might be useful in that context too (e.g. lookup the ec2 dynamic ip via `vagrant ssh-config ` and pass that info to a shared state file, where the other VMs can read it): https://github.com/emyl/vagrant-triggers HTH, Torben On Wed, Nov 4, 2015 at 8:04 PM, Joe

Re: [vagrant-up] Vagrant-Windows 7 with Visual Studio

2015-10-28 Thread Torben Knerr
If you are looking for packer templates for baseboxes, boxcutter is pretty good: https://github.com/boxcutter For Windows baseboxes specifically: https://github.com/boxcutter/windows HTH, Torben On Wed, Oct 28, 2015 at 9:26 AM, Alvaro Miranda Aguilera wrote: > Hello, > >

Re: [vagrant-up] [Vagrantfile] - Possible to use multi-provider to create a hybrid (local/cloud) dev environment?

2015-10-28 Thread Torben Knerr
Afaik you can use multiple providers in a single Vagrantfile. That was added in vagrant 1.7: https://github.com/mitchellh/vagrant/issues/3812 HTH, Torben On Tue, Oct 27, 2015 at 7:52 AM, Alvaro Miranda Aguilera wrote: > Hello, > > I am not sure if will be possible, but won't

[vagrant-up] Vagrant with Windows Guest Example needed

2015-05-05 Thread Torben Knerr
Hi everybody, I'm looking for a simple Vagrant / VirtualBox with Windows guest example. So far I built my own windows box from the boxcutter/windows templates, which worked fine. Now I'm using the simplest possible Vagrantfile, like this: Vagrant.configure(2) do |config| config.vm.box =

[vagrant-up] Vagrant with docker provider with local client and remote DOCKER_HOST anyone?

2015-04-26 Thread Torben Knerr
Hi everybody, anyone using the vagrant docker provider with a local docker client a remote DOCKER_HOST? Would be highly interested in a sample Vagrantfile that works for you... Cheers, Torben -- You received this message because you are subscribed to the Google Groups Vagrant group. To

[vagrant-up] Docker provider to reuse a running boot2docker VM?

2015-04-22 Thread Torben Knerr
Hi everybody, Is there an easy and unconvoluted way to tell the vagrant docker provider to reuse an existing / running boot2docker VM? I have the official boot2docker VM running outside of vagrant (i.e. 'boot2docker start'). It would be great if Vagrant could reuse this one instead of running

Re: [vagrant-up] NoMethodError for config.vm.define

2015-04-21 Thread Torben Knerr
Hey Angshuman, Try node.hostname instead of node.vm.hostname HTH, Torben Am 22.04.2015 06:55 schrieb Angshuman Mukherjee am.mukher...@gmail.com: I'm getting this error - $ vagrant up node-1 /Users/angshu/mydevenv/vagrant-root/Vagrantfile:13:in `block in top (required)': undefined method

[vagrant-up] Benefits of using vagrant docker provisioner in favor of plain docker

2015-04-20 Thread Torben Knerr
Hey everybody, I'm trying to get better feeling on what's the benefit of using vagrant docker provisioner instead of just plain docker? What is your experience with it? In which scenarios does it work well and when not? Cheers, Torben -- You received this message because you are subscribed to

Re: [vagrant-up] Re: Using Vagrant on a remote Server (LAN)

2015-04-16 Thread Torben Knerr
You can perfectly use vagrant to spin up instances in the cloud, be it rackspace, digitalocean, aws, or whatever. Just search for vagrant-cloud vendor and you will probably find a provider plugin for it. HTH, Torben Am 16.04.2015 16:19 schrieb pronix pronix pronix.serv...@gmail.com:

Re: [vagrant-up] Re: cross platform provider with nested virt?

2015-04-12 Thread Torben Knerr
...whereas for VirtualBox nested works only if you have a 64-bit VM and the nested one is 32-bit (from my experience) But as Alvaro said: depends on what you really want to achieve and nested (at least fully virtualized) VMs are rarely the best choice. Cheers, Torben Am 13.04.2015 05:05 schrieb

Re: [vagrant-up] vagrant-librarian-chef installation: Chef Gem fails to build native extensions

2015-04-07 Thread Torben Knerr
Hey Tobias, I guess you are running into this: https://github.com/chef/chef/pull/3126 Tl;dr: the Chef gem from 11.18.x onwards to 12.2.x requires elevated privileges to succeed. The above PR has been merged and should be released with the first 12.3.x release. Not sure why it worked on your

Re: [vagrant-up] vagrant-librarian-chef installation: Chef Gem fails to build native extensions

2015-04-07 Thread Torben Knerr
Hmmm... sorry :-/ Not sure whether using vagrant-berkshelf would be an option for you. Waiting for chef 12.3.x to come out would be another one. Proposing to apply the patch from the above PR against the chef 12.2-stable branch (https://github.com/chef/chef/tree/12.2-stable) would probably reduce

Re: [vagrant-up] Vagrant with Manage Servers

2015-04-01 Thread Torben Knerr
Hi Liam, yes, you can use the managed servers provider for that. You have to pass the external dns name / ip address (or EIP if you have one) and the ssh key to the Vagrantfile, e.g. like so: ``` Vagrant.configure(2) do |config| config.vm.box = tknerr/managed-server-dummy config.vm.provider

Re: [vagrant-up] Having trouble getting Vagrant to work at ALL (in Windows).

2015-03-28 Thread Torben Knerr
Hi Paul, which VirtualBox Version do you have? After updating to 4.3.20 I noticed that that VirtualBox suddenly started spawning 3 processes for each VM. This was annoying and I had some not really reproducible hickups. After swiching back to 4.3.12 everything worked again (and also only 1

Re: [vagrant-up] Vagrant, Packer, VMWorkstation, Chef and/or Puppet etc... and working witn Windows 7 Srvr 2012 R2

2015-03-24 Thread Torben Knerr
Hi Paul, this might be a good starting point if you plan to build your own windows baseboxes (with Packer): https://github.com/boxcutter/windows Or in general check out https://github.com/boxcutter (for other OS too) HTH, Torben On Tue, Mar 24, 2015 at 4:37 AM, Paul Davidson

Re: [vagrant-up] Dynamic / generic config.vm.box ?

2015-03-24 Thread Torben Knerr
Hi Eric, afaik there is no such mechanism. There is box versioning though. For example you could create your own eric/ubuntu basebox and create / upload a version for each ubuntu release. Not sure if that's a good idea, but you could exploit box versioning for that if you really wanted... HTH,

Re: [vagrant-up] chef solo provisioner on ARM

2015-03-12 Thread Torben Knerr
Hi Andrew, you should be able to control that via install config option, e.g.: config.vm.provision chef_solo do |chef| chef.install = false end See here: https://github.com/mitchellh/vagrant/blob/master/plugins/provisioners/chef/config/base.rb#L14-23 HTH, Torben On Wed, Mar 11, 2015 at

Re: [vagrant-up] Re: Questions about rsync (cygwin)

2015-03-09 Thread Torben Knerr
Hi David, FYI - over the years I accumulated a few tweaks which make it well usable on Windows (for me at least), including ssh and rsync support. You might be interested in that: https://github.com/tknerr/bills-kitchen If you are not tied to Windows + VirtualBox for some reason, you could also

Re: [vagrant-up] How to conditionally setting config variables based on the Vagrant operation?

2015-02-20 Thread Torben Knerr
Hey Brian, You could probably parse ARGV for that, but that's really ugly and I wouldn't recommend it. Maybe the vagrant-triggers plugin is better suited for your use case? HTH, Torben Am 19.02.2015 23:07 schrieb Brian D brdw...@gmail.com: Hi all, I'd like to conditionally set a variable

Re: [vagrant-up] Re: Is there a way to set up a box repository inside the corporate network

2015-02-18 Thread Torben Knerr
Hi Kelly, if you want more of the atlas like behaviour with account/box like box names and versioning you should check out this: https://groups.google.com/forum/#!msg/vagrant-up/mM3A6EVqwM0/ygIy8gWr1g4J Or a more short version: http://blog.el-chavez.me/2015/01/31/custom-vagrant-cloud-host/ I

Re: [vagrant-up] latency on all vagrant commands (Linux host)

2015-02-11 Thread Torben Knerr
Does 'vagrant command --debug' give you an indication where it hangs? HTH, Torben Am 11.02.2015 19:58 schrieb Rodney Young ryoung...@gmail.com: Hello all, I wonder if someone has a ready solution to this issue. I swear I solved it before the last time I played with Vagrant. Every command I

Re: [vagrant-up] Re: Shared Folders used by Chef Zero not being re-mounted after initial up

2015-02-10 Thread Torben Knerr
Hi Joe, guess it's this issue here: https://github.com/mitchellh/vagrant/issues/5199 Workaround is described in the issue HTH, Torben On Tue, Feb 10, 2015 at 10:35 PM, Joe George joegeorg...@gmail.com wrote: Running vagrant reload with --debug shows the following DEBUG messages DEBUG

Re: [vagrant-up] Re: Setup a Windows 7 box

2015-02-06 Thread Torben Knerr
+1. Would love to see these windows / modern.ie boxes working with vagrant Winrm, too. Cheers, Torben On Fri, Feb 6, 2015 at 8:12 AM, Guilhem Brouat gan...@gmail.com wrote: Just to say, I also tried to execute the two commands given at the end of this page :

Re: [vagrant-up] Install Vagrant on a Windows host without admin rights

2015-02-06 Thread Torben Knerr
afaik VirtualBox only supports 32-bit in 64-bit, but not 64 in 64 On Fri, Feb 6, 2015 at 9:55 AM, Alvaro Miranda Aguilera kiki...@gmail.com wrote: enable the gui, and what's the error message? you need Virtualization extension enabled on BIOS. On Fri, Feb 6, 2015 at 5:18 PM, pixel fairy

Re: [vagrant-up] Vagrant cachier: The following settings shouldn't exist: auto

2015-02-05 Thread Torben Knerr
I believe it's called auto_detect (with an underscore) HTH, Torben Am 05.02.2015 07:48 schrieb Anthony Kong anthony.hw.k...@gmail.com: I am using vagrant-cachier with my vagrant setup Here is setting in my Vagrantfile if Vagrant.has_plugin?(vagrant-cachier) # Configure cached packages

Re: [vagrant-up] How many VBoxHeadless.exe processes do you see?

2015-01-30 Thread Torben Knerr
/ On Sat, Jan 31, 2015 at 8:31 AM, Torben Knerr torben.kn...@gmail.com wrote: Hi everybody, after uprading to VirtualBox 4.3.20 I got some hangs when the VM was booting. Looking at the task manager I see three(!) VBoxHeadless.exe processes being spawned every time I `vagrant up` a single

[vagrant-up] Windows Embedded 7 Baseboxes anyone?

2015-01-26 Thread Torben Knerr
Hi everybody, a colleague just asked me whether he could provision a Windows Embedded 7 with Vagrant. Has someone done this before? Cheers, Torben -- You received this message because you are subscribed to the Google Groups Vagrant group. To unsubscribe from this group and stop receiving

Re: [vagrant-up] Re: vagrant provider for azure cloud?

2015-01-21 Thread Torben Knerr
Thanks Bartek! Am 21.01.2015 00:46 schrieb Bartek Nowakowski bar...@bnowakowski.pl: W dniu poniedziałek, 24 czerwca 2013 16:20:05 UTC+2 użytkownik Torben Knerr napisał: Does someone know of a Vagrant provider for Microsoft Azure? Quick check on https://github.com/mitchellh/vagrant/wiki

[vagrant-up] Bill's Kitchen 2.2 released

2015-01-18 Thread Torben Knerr
Hi everybody, those of working with Vagrant on a Windows might be interested in the latest Bill's Kitchen release: https://github.com/tknerr/bills-kitchen/releases/tag/2.2 Bill's Kitchen is a DevPack which bundles Vagrant, ChefDK and a few other tools and tweaks you need for developing with

Re: [vagrant-up] Re: how to workaround curl SSL error downloading a box?

2015-01-06 Thread Torben Knerr
:09:53 UTC, Torben Knerr wrote: Hi Adewole, try running this from your console: ``` wget -O /tmp/ca-bundle.crt https://github.com/bagder/ca-bundle/blob/e9175fec5d0c4d42de24ed6d84a06d 504d5e5a09/ca-bundle.crt export SSL_CERT_FILE=/tmp/ca-bundle.crt vagrant up ``` HTH, Torben On Mon

Re: [vagrant-up] Re: how to workaround curl SSL error downloading a box?

2015-01-06 Thread Torben Knerr
Hi everybody, this should be fixed if you upgrade to Vagrant 1.7.2 released today HTH, Torben On Tue, Jan 6, 2015 at 5:16 PM, Igor Itkin ig.it...@gmail.com wrote: found on git: sudo cp /etc/ssl/certs/ca-certificates.crt /opt/vagrant/embedded/cacert.pem it workes for me понедельник, 20 мая

Re: [vagrant-up] vagrant for user/desktop environment

2015-01-05 Thread Torben Knerr
Hi Sushi, I'm currently doing something similar here: https://github.com/tknerr/dev-box/ It's an Ubuntu Desktop VM intended for infrastructure development with Chef, Vagrant, etc.. You might find something re-usable for other VMs too. Concerning the distribution I will probably use packer.io to

Re: [vagrant-up] Atlas and vagrant push - can't seem to figure it out!

2015-01-05 Thread Torben Knerr
Looks like you would need a newer Git client version on your workstation. * 1.7.0 does NOT have the `--short` option: http://git-scm.com/docs/git-symbolic-ref/1.7.0 * 1.8.0 does have it: http://git-scm.com/docs/git-symbolic-ref/1.8.0 HTH, Torben On Tue, Jan 6, 2015 at 1:33 AM, Toby Ferguson

Re: [vagrant-up] Can one box depend on another box ?

2015-01-04 Thread Torben Knerr
Hi Shawn, you have a few options here, e.g.: 1. Most simple: Vagrant starts the VMs in the order they are defined. You may want to use the `--no-parallel` flag if you are using a provider that supports parallelization (VirtualBox does not) 2. Better: use vagrant-triggers plugin and define and

Re: [vagrant-up] How do you determine the IP address of a node during provisioning?

2014-12-31 Thread Torben Knerr
For a poor man's solution you could probably get away with the combination of vagrant-triggers [0] plus something like `vagrant ssh vm1 -c ifconfig eth1 | grep 'inet addr' | awk -F: '{print $2}' | awk '{print $1}'` HTH, Torben [0] https://github.com/emyl/vagrant-triggers On Wed, Dec 31, 2014

Re: [vagrant-up] Re: Vagrant Stopped Working Suddenly

2014-12-29 Thread Torben Knerr
Hi, you can try to log in via plain ssh from the commandline with verbose logging, this might give you some more information on what's going wrong, e.g.: ssh vagrant@127.0.0.1 -p -i .vagrant/machines/default/virtualbox/private_key -o StrictHostKeyChecking=no -o

Re: [vagrant-up] Re: Getting Errors using puphpet for Vagrant

2014-12-28 Thread Torben Knerr
Hi, Looks like this issue: https://github.com/mitchellh/vagrant/issues/5016 Not sure how to solve it though... HTH, Torben Am 28.12.2014 05:07 schrieb K.M. Severin kmseve...@gmail.com: Hi Everyone, I would really like some help. I tried many different solutions and vagrant is still giving

Re: [vagrant-up] vagrant chef-client provisioner can't find chef binaries when client version downgraded

2014-12-27 Thread Torben Knerr
Hi William, Seth, for what it's worth: I can confirm that setting `chef.version = 11.16.4` works with the :chef_solo provisioner. Have not tried with :chef_client or :chef_zero though... HTH, Torben On Sat, Dec 27, 2014 at 1:18 AM, William Jimenez wjimenez5...@gmail.com wrote: Hi Seth

Re: [vagrant-up] Great concept, need docs, info

2014-12-22 Thread Torben Knerr
Hi motech, You might be interested in this as well for better vagrant satisfaction on windows: https://github.com/tknerr/bills-kitchen No cygwin, vagrant ssh working, ansi-colored output, etc.. The idea is to just unzip and start hacking. No installation, no prerequisites. HTH, Torben Am

Re: [vagrant-up] Vagrant - Built In Methods

2014-12-20 Thread Torben Knerr
Hey Brian, not sure whether an if statement in the Vagrantfile will help you, since the Vagrantfile is evaulated first and then the VMs are started. However, the vagrant-triggers plugin might help you: https://github.com/emyl/vagrant-triggers You could add the VM to the ELB when it comes up,

Re: [vagrant-up] Combining two boxes in one vagrantfile

2014-12-18 Thread Torben Knerr
Hi Richard, This might be what you are looking for: https://docs.vagrantup.com/v2/multi-machine/ HTH, Torben Am 18.12.2014 12:13 schrieb richard van beers richard.van.be...@gmail.com : Hi, Using: Windows 8 pro, VirtualBox 4.3.20, vagrant 1.7.1 I have created a base box, based on Ubuntu

Re: [vagrant-up] Combining two boxes in one vagrantfile

2014-12-18 Thread Torben Knerr
) Gr RichardvB On Thursday, December 18, 2014 4:42:59 PM UTC+1, Torben Knerr wrote: Hi Richard, This might be what you are looking for: https://docs.vagrantup.com/v2/multi-machine/ HTH, Torben Am 18.12.2014 12:13 schrieb richard van beers richard@gmail.com: Hi, Using: Windows 8 pro

[vagrant-up] How to globally define a base configuration which all provisioners inherit from?

2014-12-17 Thread Torben Knerr
Hi everybody, I'm currently struggling with a problem, where I want a specific configuration to be set by default for allchef Provisioners. My idea was to define that in the global ~/.vagrant.d/Vagrantfile, e.g. like so: # global Vagrant configuration Vagrant.configure(2) do |config| # all

[vagrant-up] Discovery of public Baseboxes in Atlas

2014-12-10 Thread Torben Knerr
Hi everybody, I was missing the public website for searching vargant baseboxes now that http://vagrantcloud.com gets redirected to http://atlas.hashicorp.com However, I just found it. It's not directly linked on the atlas homepage, but it still exists here:

Re: [vagrant-up] Re: Failed to find Vagrant! when attempting to run vagrant commands.

2014-12-10 Thread Torben Knerr
Yes, this is a known bug with the installers. See here: https://github.com/mitchellh/vagrant/issues/4927 ..and the referenced issues: https://github.com/mitchellh/vagrant/issues/4924 https://github.com/mitchellh/vagrant/issues/4920 https://github.com/mitchellh/vagrant/issues/4919 - all the same

Re: [vagrant-up] Shell Provisioner running ansible-playbook is slow

2014-10-18 Thread Torben Knerr
Hi John, as for the colored vagrant output on windows you can try this: https://github.com/tknerr/bills-kitchen/blob/master/files/set-env.bat#L67-69 As for the slow ansible-playbook command: no idea. Is it always faster the second time you run it? HTH, Torben On Fri, Oct 17, 2014 at 9:37 PM,

Re: [vagrant-up] Unable to ssh to a vagrant started ec2 ubuntu instance

2014-10-12 Thread Torben Knerr
And does the my-app security group allow for SSH traffic? Cheers, Torben Am 12.10.2014 22:06 schrieb Alvaro Miranda Aguilera kiki...@gmail.com: On Sun, Oct 12, 2014 at 11:44 PM, Anthony Kong anthony.hw.k...@gmail.com wrote: 54.186.111.213 Does that ami have user ubuntu with access the

Re: [vagrant-up] Usage of Vagrant Keeps Me Confused

2014-10-12 Thread Torben Knerr
Hi Ali, I would say yes, you should strive for Dev/Prod Parity, definitely: http://12factor.net/dev-prod-parity However, that is more of an organizational Problem to solve than a technical one. Vagrant is a great tool that can help you facilitate that, but it's not a necessity for each other.

Re: [vagrant-up] Loading plugin specific configs within a vagrant plugin

2014-10-10 Thread Torben Knerr
Hi, A more lightweight approach would be to distribute a default Vagrantfile and ask users to put it in their ~/.vagrant.d/ directory You could enable / disable your company specific defaults with an env var for example Cheers, Torben Am 10.10.2014 01:57 schrieb Chris Chalstrom

Re: [vagrant-up] Specify Static IP for Docker Container?

2014-10-10 Thread Torben Knerr
Hi Jamie, Am 09.10.2014 17:25 schrieb Jamie Jackson jamieja...@gmail.com: Thanks, Torben, First impressions, below... Thanks for the links, Jamie On Thu, Oct 9, 2014 at 1:14 AM, Torben Knerr torben.kn...@gmail.com wrote: Hi Jamie, sounds familiar. You might also be interested

Re: [vagrant-up] Specify Static IP for Docker Container?

2014-10-08 Thread Torben Knerr
Hi Jamie, sounds familiar. You might also be interested in: https://github.com/fgrehm/vagrant-lxc which is conceptually more similar to your original approach with nested VMs https://github.com/tknerr/bills-kitchen which shows another approach on how you can bundle development environment for

Re: [vagrant-up] Re: How to gain access to devstack guest VM from host machine?

2014-10-08 Thread Torben Knerr
. This will likely end up in a public github repo too... Anyway, thanks for the direction. - Chris On Tuesday, September 23, 2014 5:19:39 PM UTC-4, Torben Knerr wrote: Hi Chris, maybe this helps: https://github.com/cloudbau/devstack-chef/blob/master/Vagrantfile#L25-28 also take a look at the readme

Re: [vagrant-up] Re: How to gain access to devstack guest VM from host machine?

2014-09-23 Thread Torben Knerr
Hi Chris, maybe this helps: https://github.com/cloudbau/devstack-chef/blob/master/Vagrantfile#L25-28 also take a look at the readme: https://github.com/cloudbau/devstack-chef I was recently struggling with a similar setup, but I'm not there yet... HTH, Torben On Tue, Sep 23, 2014 at 10:22

Re: [vagrant-up] Vagrant Up not working behind proxy.

2014-08-25 Thread Torben Knerr
Hi Manish, you might wanna have a look at the https://github.com/tmatilai/vagrant-proxyconf plugin, which configures the proxy on the guest machine. Also make sure you have the `http_proxy` and `https_proxy` env vars set on the host. HTH, Torben On Mon, Aug 25, 2014 at 11:22 AM, Manish Mehra

Re: [vagrant-up] Re: Issue while running vagrant up inside a Virtualbox

2014-08-25 Thread Torben Knerr
Hi Santhosh, to my best knowledge it is not possible to run VirtualBox inside VirtualBox. You can run VirtualBox VMs inside a VMWare VM though... Cheers, Torben On Mon, Aug 25, 2014 at 12:14 PM, Santhosh Kumar santhosh@gmail.com wrote: I'm using Windows-7 host VirtualBox 4.3.12 Guest

Re: [vagrant-up] Re: Issue while running vagrant up inside a Virtualbox

2014-08-25 Thread Torben Knerr
On Mon, Aug 25, 2014 at 12:51 PM, Santhosh Kumar santhosh@gmail.com wrote: Hi Torben, 32 bit VM in a virtualbox inside VirtualBox is working, only 64 bit isn't working. Is there a specific reason for that. On Monday, 25 August 2014 16:13:49 UTC+5:30, Torben Knerr wrote: Hi Santhosh

Re: [vagrant-up] Vagrant with mintty (MSYS)

2014-08-03 Thread Torben Knerr
UTC+2, Torben Knerr wrote: I'm using `set TERM=cygwin` on the host, that gives me the best results so far (especially `vi` is still working properly in a `vagrant ssh` shell). HTH, Torben On Fri, Aug 1, 2014 at 4:41 PM, John Bergson johnbe...@gmail.com wrote: Hi all! I have mintty

Re: [vagrant-up] Vagrant with mintty (MSYS)

2014-08-03 Thread Torben Knerr
there! I've just installed msys' ssh.exe, fully functional with vagrant, but need to ssh manually. I'm curious how you managed to use cygwin's ssh client for `vagrant ssh`, can't be just setting the PATH variable, right? On Sunday, August 3, 2014 10:17:47 AM UTC+2, Torben Knerr wrote: Hi John, I'm

Re: [vagrant-up] Vagrant with mintty (MSYS)

2014-08-01 Thread Torben Knerr
I'm using `set TERM=cygwin` on the host, that gives me the best results so far (especially `vi` is still working properly in a `vagrant ssh` shell). HTH, Torben On Fri, Aug 1, 2014 at 4:41 PM, John Bergson johnbergs...@gmail.com wrote: Hi all! I have mintty configured with MSYS and MinGW, and

Re: [vagrant-up] vagrant up with Ansible provisioner inside a vbox running on Windows ?

2014-07-30 Thread Torben Knerr
Hi Torsten, VirtalBox inside VirtalBox does not work afaik. You could use Vagrant/VirtualBox on Windows to spin up an Ubuntu VM, and from within that VM you can use Vagrant/LXC. That will be pretty lightweight. Check out @fgrehm's vagrant-lxc plugin for this. Alternative: VirtualBox inside

Re: [vagrant-up] Re: how to determine provider in Vagrantfile

2014-07-23 Thread Torben Knerr
Having access to the provider sounds useful, did anyone already create an issue for it? https://github.com/mitchellh/vagrant/issues On Mon, Jul 21, 2014 at 10:09 PM, Benjamen Keroack bkero...@gmail.com wrote: I just had to implement the hack from earlier in the thread (involving ARGV).

Re: [vagrant-up] dead in the water right at the 2nd step: The box 'hashicorp/precise64' could not be found...

2014-07-20 Thread Torben Knerr
Hi Jeff, try `set SSL_CERT_FILE=c:\temp\cacert.pem`. That works for me on Win7. Credits to Fletcher Nichol: https://gist.github.com/fnichol/867550 HTH, Torben On Sat, Jul 19, 2014 at 11:03 PM, Jeff Saremi jeffsar...@gmail.com wrote: Windows 7 C:\tempVagrant -v Vagrant 1.6.3

Re: [vagrant-up] VM Stats

2014-07-15 Thread Torben Knerr
What you can do though is something like `vagrant ssh -c iostat` Cheers, Torben On Tue, Jul 15, 2014 at 1:04 AM, Terrance Shepherd tscana...@gmail.com wrote: Not natively. Sorry. On Jul 14, 2014 5:14 PM, Bryan P bryan.per...@gmail.com wrote: Hi Guys, Is there anyway to get stats (CPU

Re: [vagrant-up] Re: Is Vagrant appropriate for setting up non-virtual machine environments?

2014-07-10 Thread Torben Knerr
@Matthew: vagrant-managed-servers is an approach to this, it basically makes `up` and `destroy` noops but lets you use the other vagrant commands such as `provision` and `ssh`: https://github.com/tknerr/vagrant-managed-servers HTH, Torben On Thu, Jul 10, 2014 at 6:24 PM, bmurt...@coredial.com

Re: [vagrant-up] Re: Bindler is deprecated, how to hard require plugins?

2014-07-10 Thread Torben Knerr
I would love to see bindler coming back to newer vagrant versions! Bindler I miss you :-/ ​P.S.: I guess we have to nag @mitchellh a bit more about this ;-) https://github.com/mitchellh/vagrant/issues/3468 ​ On Thu, Jul 10, 2014 at 9:03 PM, Reuben Avery reubenav...@gmail.com wrote: Yeah, I

Re: [vagrant-up] Re: New provider plugin: vagrant-softlayer

2014-07-01 Thread Torben Knerr
Hi Paul, you can run `VAGRANT_LOG=DEBUG vagrant plugin install vagrant-softlayer` to get more information on what's going wrong. I suspect you might need to have the Ruby DevKit installed for compiling the json gem: http://rubyinstaller.org/add-ons/devkit/ HTH, Torben On Tue, Jul 1, 2014 at

Re: [vagrant-up] Provisioning only - no onstalling at all??

2014-07-01 Thread Torben Knerr
Hi San, if you create the vagrant VM by yourself you can do `vagrant up --no-provision` - that will bring up the VM but not run a provisioner. However if someone else does that on his machine it won't help you, because the machine state is stored in your local .vagrant directory (it might work

Re: [vagrant-up] Vagrant plugin install offline/sandbox

2014-06-19 Thread Torben Knerr
I think you can also install plugins via `vagrant plugin install path/to/plugin.gem`, can't you? Cheers, Torben On Thu, Jun 19, 2014 at 2:55 PM, Michael Sumulong msumul...@gmail.com wrote: Ah. I didn't see this article. I'll check it out. On Wednesday, June 18, 2014 10:05:29 PM UTC-4,

Re: [vagrant-up] working with Ubuntu 14.04, Virtualbox, and AWS

2014-06-04 Thread Torben Knerr
Hi Dan, with vagrant-aws you are in luck because its basically just an empty dummy box, see here: https://github.com/mitchellh/vagrant-aws/#quick-start You can unzip the dummy.box file from here and have a look inside, then you'll see why it's called a dummy box:

Re: [vagrant-up] Using Vagrant without VM

2014-05-06 Thread Torben Knerr
Hi Ranjit, you can try the vagrant-managed-servers plugin here if its not a VM but you have ssh accesss: https://github.com/tknerr/vagrant-managed-servers HTH, Torben On Tue, May 6, 2014 at 2:48 PM, Ranjit B ranjit.n.batte...@walkingtree.inwrote: Hello, Using Vagrant with VM and working

Re: [vagrant-up] Greetings and a question...

2014-02-27 Thread Torben Knerr
Hi Jerald, there are always some vagrant plugins which don't work very well on windows but many of them do. I don't have experience with the ones mentioned above. I never had problems with other baseboxes though... These links might help:

Re: [vagrant-up] Guest Addition Automatic Update [precise32]

2014-02-11 Thread Torben Knerr
Hi Jaace, have you tried `config.vbguest.auto_update = false`? You can also build your own basebox with the correct guest additions being already installed, bento might help you with that: https://github.com/opscode/bento HTH, Torben -- You received this message because you are subscribed to

Re: [vagrant-up] Looks like you _can_ use NFS on Windows after all?

2014-01-31 Thread Torben Knerr
Swet. As easy as `vagrant plugin install vagrant-winnfsd` :-) On Fri, Jan 31, 2014 at 7:05 PM, Patrick Cummins patwcumm...@gmail.comwrote: It looks like someone has this figured out to completion. I'll be testing it next week.

Re: [vagrant-up] Accessing Vagrant machine infrom from inside vagrant file

2014-01-29 Thread Torben Knerr
) On 26 January 2014 13:24, Torben Knerr torben.kn...@gmail.com wrote: Looking for exactly the same thing. My first thought was shelling out to `vagrant ssh-config other_node`, but that get's evaluated too early... I could imagine you could do this at the right time via the vagrant-triggers

Re: [vagrant-up] vagrant with packer images in AWS

2014-01-28 Thread Torben Knerr
Check out the vagrant-aws plugin: https://github.com/mitchellh/vagrant-aws HTH, Torben On Jan 29, 2014 1:19 AM, Matt Fowler fowl...@gmail.com wrote: I've created some AMI images in Amazon Web Services using packer. I have also used Vagrant to create new instances in AWS. I cant seem to

Re: [vagrant-up] Guest Addition Automatic Update [precise32]

2014-01-26 Thread Torben Knerr
Hi AJ, vagrant-vbguest might be what you are looking for: https://github.com/dotless-de/vagrant-vbguest HTH, Torben On Fri, Jan 24, 2014 at 5:06 PM, AJ Michels ajmichels@gmail.com wrote: vagrant-cachier doesn't seem to do anything with Guest Additions. Perhaps I am missing some

Re: [vagrant-up] Accessing Vagrant machine infrom from inside vagrant file

2014-01-26 Thread Torben Knerr
Looking for exactly the same thing. My first thought was shelling out to `vagrant ssh-config other_node`, but that get's evaluated too early... I could imagine you could do this at the right time via the vagrant-triggers plugin, but haven't tried it yet: https://github.com/emyl/vagrant-triggers

Re: [vagrant-up] Vagrantfile plugin dependencies

2014-01-08 Thread Torben Knerr
Hey Bjorn, Check out bindler in the meantime: https://github.com/fgrehm/bindler @mitchellh: great to hear that plugin dependency management will be part of vagrant core soon! HTH, Torben On Jan 8, 2014 5:07 PM, Mitchell Hashimoto mitchell.hashim...@gmail.com wrote: Bjorn, At the moment, all