vagrant

“vagrant up” it stops at SSH auth method: private key

陌路散爱 提交于 2020-01-04 01:49:14
问题 I'm trying to install laravel on my computer with homestead environment. I followed all steps on the official documentation. And when I execute my "vagrant up" my console displays the following error. . Stops at SSH auth method. Previously I configured the ssh-keygen with " ssh-keygen -t rsa -b 4096 -C "me@email.com " I added the host piece at .rb file: Even .yaml file. I think I edited properly At hosts file I added: "192.168.10.10 administracio.dev" at the bottom of the file. And then when

Can I use `vagrant box update` while already having the machine running by `vagrant up`?

青春壹個敷衍的年華 提交于 2020-01-03 18:52:16
问题 I have some projects in Laravel, and when I have to give some maintenance to them, sometimes when I run vagrant up , it warns me up that I have a newer version of the laravel box, homestead, like the message below: A newer version of the box 'laravel/homestead' is available! You currently have version '1.1.0'. The latest is version '2.0.0'. Run `vagrant box update` to update. My question is, always when I run vagrant box update , it tooks like a decade to download the newer version of the box

Can't ping to virtualbox instance [closed]

南笙酒味 提交于 2020-01-03 08:32:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I'm trying to set up the vagrant lucid32 box The instance network setting is NAT the virtual box instance can ping to the Mac, but can't vice versa here is my Mac config lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 options=3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1

How to get two vagrant boxes to talk to each other?

瘦欲@ 提交于 2020-01-03 04:39:07
问题 Let's say I make two vagrant boxes, foo and bar : $ mkdir -p foo bar $ pushd foo; vagrant init hashicorp/precise32; vagrant up; popd $ pushd bar; vagrant init hashicorp/precise32; vagrant up; popd Now let's say I start an HTTP server on foo : $ cd foo $ vagrant ssh -c 'python -m SimpleHTTPServer 8080 My question is, how can I get bar to communicate (e.g. via curl ) with foo ? $ cd bar $ vagrant ssh -c 'curl http://????' 回答1: Although the question does not make it clear, I think this older

How to setup Vagrant ssh agent forwarding?

我的梦境 提交于 2020-01-02 10:29:09
问题 My goal is to connect from a VirtualBox VM to another machine using the ssh key authentication. I have created the VM with Vagrant (1.0.5). I have also enabled config.ssh.forward_agent = true (as suggested in this post). Sadly, the ssh forwarding does not seem to be working. These are the steps (on fresh ubuntu with vagrant and virtualbox): Log from the host machine to VM (when I use --debug, I see that the forwarding is enabled) vagrant ssh Log from VM (ubuntu 12.04 with injected vagrant ssh

Vagrant - how to configure vagrant ssh when using private interfaces?

梦想的初衷 提交于 2020-01-02 08:34:09
问题 I have a multivm vagrantfile setup with 3 vms. Two of the vm's have their NAT network interface disabled, and solely use a static ip on an internal interface. The side effect is that I am no longer able to run vagrant ssh foo to connect to the vm's. # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| #config.vm.box = "PuppetlabsCent64" #config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64

Multi-machine ansible setup with vagrant on windows

我的未来我决定 提交于 2020-01-02 07:12:19
问题 Purpose I want ansible to provision virtual box vm's on my windows 8 machine [via Vagrant]. Everything needs to run locally and since Ansible doesn't run on Windows, I bootstrap a debian vm with ansible as the control machine. This code served as an example. After struggling with the system I got it somewhat working, but not completely (although ansible doesn't tell me). Question What configuration is required for a multi-machine setup using ansible [in a vm], vagrant and virtualbox [on

Vagrant box could not be found error

拟墨画扇 提交于 2020-01-02 06:22:09
问题 I am trying to set up virtual machine using virtual box. I have got virtual box and vagrant installed in my windows 7 64-bit machine. I have also built an environment using puphpet. But whenever I try to install the box ubuntu1404-x64 it throws the error Bringing machine 'machine1' up with 'virtualbox' provider... ==>Machine1: Box 'puphpet/ubuntu1404-x64' could not be found. Attempting to find and install... machine1: Box Provider: virtualbox machine1: Box Version: >= 0 machine1: Box file was

Laravel 5.4 View [name] not found

拈花ヽ惹草 提交于 2020-01-02 06:21:11
问题 Even if the views is available at the resources/views directory laravel is showing me this error View [name] not found. Everything was working fine until a token mismatch error occured currently i am not being able to access any view in the views directory. Route::get('/', function () { return view('welcome'); });//in web.php is throwing View [welcome] not found. exception NOTE I am running my application vagrant in homestead 回答1: First of all check welcome view exist in the resources/views