VagrantがUbuntuの設定を完了したら、私はすべての依存関係と2つのプロジェクトを異なるリポジトリからインストールするスクリプトを持っています。git cloneが設定スクリプトから失敗する
echo -e "Host *" >> /home/vagrant/.ssh/config
echo -e "\tStrictHostKeyChecking no" >> /home/vagrant/.ssh/config
:私はクローニング前に私の設定ファイルに
StrictHostKeyChecking
をdesactivated ...
Cloning into 'frontend'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
しかし、私はSSHでの私のgit clone
を行うときに、それは完璧に動作します:しかし、私のgitのクローンは、このメッセージで失敗します
gitクローンがSSHではなくスクリプトで失敗するのはなぜですか?問題を解決するにはどうしたらいいですか?
EDIT:尋ねたとして、私の放浪ファイル:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-17.04"
config.vm.network "private_network", ip: "192.168.50.5"
config.vm.synced_folder "./../projects", "/home/vagrant/projects"
config.vm.provider "virtualbox" do |v|
v.name = "devOS"
end
config.vm.provision "shell", path: "./configure"
end
rootとしてプロビジョニングスクリプトを実行し、高いチャンスがありますを変更する、あなたのVagrantfileを表示することができますか? –
もちろん! – Wizix