vagrantfile

    2热度

    2回答

    我试图实现对流浪新的自定义选项,如下Vagrantfile: # -*- mode: ruby -*- require 'getoptlong' opts = GetoptLong.new( [ '--vm-name', GetoptLong::OPTIONAL_ARGUMENT ], ) vm_name = ENV['VM_NAME'] || 'default' be

    0热度

    1回答

    我有一个vmware_fusion提供程序框,我想在vagrant up --provider vmware_fusion期间同步Vagrantfile中的工作目录。根据该文件,我可以使用mount_options,但是当我看到几个帖子和mount_options通常是这样的: Vagrant.configure("2") do |config| config.vm.synced_fo

    0热度

    1回答

    我有一个Vagrantfile,并且在非Windows机器上挂载的默认选项是NFS。 if Vagrant::Util::Platform.windows? == false config.vm.synced_folder ".", "/vagrant", id: "core", :nfs => true, :mount_options => ['nolock,vers=3,udp']

    2热度

    1回答

    当我运行流浪了,它做所有的配置和诸如此类的东西,然后我看到的错误: ==> default: ERROR: Error installing puppet: 及更高版本: ==> default: Unable to load puppet. Please install it using native packages for your platform (eg .deb, .rpm, .d

    0热度

    1回答

    我Vagrantfile主机路径外壳脚本是 $script = <<SCRIPT cd /opt/IBM/WebSphere/AppServer/ sudo sh startServer.sh server1 SCRIPT Vagrant.configure(2) do |config| config.vm.box = "bolbase" config.vm.netwo

    3热度

    2回答

    我试图运行一个vagranfile,它会导致运行python flask应用程序。我已经使用这个作为最后一个命令来实现这个尝试 - config.vm.provision :shell, :path => "python app.py" 但它导致出现以下错误 - *路径for shell provisioner does not exist on the host system: /Users/*

    3热度

    1回答

    我们在我们的项目库中有一个多机器Vagrantfile,它建立了一个LAMP堆栈并创建了一些常用的MySQL数据库。现在,我们每个人都有一个个人数据库,我们希望Vagrant创建这个数据库,作为初始“流浪汉”配置的一部分。我已将个人配置代码放入〜/ .vagrant.d/Vagrantfile中,但根据Vagrantfiles的加载顺序,该代码在普通Vagrantfile的配置代码之前运行。我的个

    5热度

    2回答

    当我使用这个命令: vagrant up 我得到这个错误: [machine1] GuestAdditions versions on your host (4.3.36) and guest (5.0.10) do not match. 我怎么可以更新来宾除了从Ubuntu的壳呢?

    1热度

    1回答

    最近,我试图设置一个VirtualBox作为虚拟机提供程序的Vagrant框。 在我的第一次尝试中,Vagrant正确创建了虚拟框,但由于某些厨师错误而失败。 我解决由厨师指出错误,并再次重新进行了无业游民了命令,但这个时候,我得到了以下错误: Vagrant cannot forward the specified ports on this VM, since they would colli

    0热度

    1回答

    我刚开始学习如何在我的开发环境中使用vagrant,并且遇到了麻烦。 当我在项目的根目录vagrant up,它添加了一个webroot文件夹,这不是我所追求的。 流浪汉给我下面的结构,与随机根目录文件夹,我觉得这是财产以后做sym_links,但没有谷歌搜索量给我一个答案 | ProjectName ~ Main Project Folder -| .vagrant ~ Vagrant fol