Closed npf closed 9 years ago
Removing `config.ssh.insert_key = false' fixes this issue, but break the script in serveral places later.
Bizarre also that it works ok with centos6 even with `config.ssh.insert_key = false'.
The key is there now, but I still have strange errors... hangs at the "Configuring and enabling network interfaces..." stage, or errors:
sed: can't read /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
or cant read /tmp/ifcfg-ethX ..
On the frontend we use vagrant's unsecure key, but on centos 7 /home/vagrant/.ssh does not exist.
==> frontend: ## ==> frontend: ## create some users ==> frontend: ## ==> frontend: + for i in '{1..3}' ==> frontend: + adduser -N user1 ==> frontend: + chpasswd ==> frontend: + echo user1:vagrant ==> frontend: + cp -a /home/vagrant/.ssh /home/user1/ ==> frontend: cp: cannot stat '/home/vagrant/.ssh': No such file or directory The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.