vagrantfile

    0热度

    1回答

    我有3台机器和Ansible作为服务器提供程序的简单Vagrantfile。 Vagrantfile看起来是这样的: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| # Jira machine config.vm.define 'jira' do |jira| jira.vm.

    0热度

    1回答

    我最初认为vagrant-winnfsd插件会照顾Windows上的NFS存储(这意味着我不必使用haneWIN),但这是一个不行,因为我收到的错误是mount.nfs: requested NFS version or transport protocol is not supported。 重新激活haneWIN后,我现在收到此错误:mount.nfs: mounting 172.28.128

    4热度

    1回答

    我觉得我错过了一些基本的东西。我如何使用PuPHPet在一个vagrantfile中定义两台机器,都是Ubuntu 14.04,但是一台安装了mysql,另一台使用elasticsearch?我看到如何定义多台机器,但每个的配置似乎是相同的?

    0热度

    1回答

    我想使用超级作为提供者运行vagrant,在此之后guide。 但是当我运行“无业游民了”我收到以下错误: $ vagrant up C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/psych.rb:370:in `parse': (<unknown>): found a tab character that violate intendation wh

    0热度

    2回答

    我在我创建的Mac OS X上运行流浪以下Vagrantfile: Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant", disabled: true config.ssh.insert_key = true config.vm.provider "docker" do

    0热度

    1回答

    所以,我有一个Vagrantfile与代码: VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ... config.vm.provision "shell", inline: 'echo "Read line:" && read t && echo "$t"'

    1热度

    1回答

    工作,我有一个sed命令,裁缝httpd.conf文件,并在命令行中完美的作品: sudo sed -i 's/DocumentRoot \"\/var\/www\/html\"/DocumentRoot \"\/var\/www\/html\/web\"/' /etc/httpd/conf/httpd.conf 然而,当作为config.vm的一部分包括在内。 default: sed:

    0热度

    1回答

    我在Windows 10上,并使用vagrant-aws(https://github.com/mitchellh/vagrant-aws)来避开和亚马逊实例,并获得以下错误。我也列出了我的流浪文件。 此外,有人报告这可能是由时间造成的。我在Windows 10上同步了系统时间,但仍然没有运气! $ vagrant up --provider=aws Bringing machine 'defa

    0热度

    2回答

    我试图从Windows 10 hosto同步的文件夹到Ubuntu客户工作,但我得到这个错误: $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'ubuntu/trusty64' is up to date... ==> default:

    0热度

    1回答

    我想从我的主机上复制一些文件到Windows 7虚拟机,并将这一点代码添加到流浪文件中。 Vagrant.configure("2") do |config| config.vm.provision "file", source: "~/.gitconfig", destination:".gitconfig" end 无论如何,没有任何工作。我输入“vagrant up”和“vagran