vagrantfile

    0熱度

    1回答

    我正在建立一個流浪項目,這將提供(我用這個詞是嗎?)一個具有自定義地圖的Minecraft服務器。在提供過程中,我不斷收到sed錯誤sed: -e expression #1, char 39: unknown option to 's',但如果手動執行sed命令,我沒有發生同樣的錯誤。我的代碼有什麼問題? Vagrantfile: $map_install = <<INLINE_SCRIPT

    1熱度

    1回答

    在我的機器,我可以看到的eth1端口以下DHCP交通: sudo tcpdump -i eth1 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes

    0熱度

    1回答

    我想配置多個具有流浪者的虛擬機。我希望能夠快速輕鬆地增加虛擬機的數量。 根據我目前對Vagrant的理解。這裏https://www.edureka.co/blog/10-steps-to-create-multiple-vms-using-vagrant/詳述下面的方法似乎是最好的辦法: # This defines the version of vagrant Vagrant.configu

    1熱度

    1回答

    我正在嘗試使用流浪漢和廚師客戶端配置爲我正在處理的任務。我希望能夠使用vagrant up生成的唯一名稱,將實例加入Chef Server,然後在完成時刪除該節點。我有這個主要工作;當我運行Chef Destroy時,我被困在廚師服務器的自動刪除節點上。我需要找到一種緩存名稱並稍後檢索的方法,只需運行vagrant up的主機名配置,或者我還沒有弄清楚的一些選項。 我vagrantfile的一個片

    0熱度

    1回答

    我想用廚師手冊「s3_file」從廚師獨奏s3中獲取文件,以配置Vagrant設置。 我沒有得到的Github例子說明。我應該把這個放在哪裏: s3_file "/tmp/somefile" do remote_path "/my/s3/key" bucket "my-s3-bucket" aws_access_key_id "mykeyid" aws_se

    2熱度

    1回答

    當我VagrantFile有 config.vm.network :forwarded_port, guest: 9000, host: 9000 我執行vagrant up聲明 將被顯示。 我以爲是因爲帖子被拿走了,我執行netstat -aon,並且沒有相應的端口。 如果我刪除config.vm.network上的聲明,Vag​​rant可以正常打開。 有人可以幫我解決嗎?

    4熱度

    1回答

    我在我的Vagrantfile中的所有端口上收到一個端口衝突,似乎一段時間工作正常,然後突然發生了某些變化,它拒絕工作。請沒有答案,說:「更改端口」 Vagrant cannot forward the specified ports on this VM, since they would collide with some other application that is already

    0熱度

    1回答

    我試圖使用我收到的vagrant文​​件在Ubuntu中用virtualbox設置虛擬機。 使用無業遊民了命令我碰到下面的錯誤後: File provisioner: * File upload source file /home/c-server/tools/appDeploy.sh must exist appDeploy.sh在正確的位置確實存在,看起來像這樣: #!/bin/bash

    2熱度

    1回答

    我有下面的文件夾結構,這似乎使它建立和加載的角色,但組和主機變量沒有被加載。怎麼來的? 的/ etc/ansible/ - hosts - requirements.yml - group_vars/ - app/ - postgres.yml - host_vars/ - app1/ - postgres.yml - roles /文件/

    0熱度

    1回答

    是否有可能/有效期爲以下形式無業遊民ansible供應方運行不止一個劇本: config.vm.define "repo", primary: true do |d| d.vm.hostname = "some.hostname" # Create a private network, which allows host-only access to the machine