【发布时间】:2016-03-15 14:56:42
【问题描述】:
当我尝试运行时: vagrant up 我得到了以下
[default] Running provisioner: file...
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
Pruning invalid NFS exports. Administrator privileges will be required...
[default] Running cleanup tasks for 'shell' provisioner...
[default] Running cleanup tasks for 'file' provisioner...
[default] Running cleanup tasks for 'shell' provisioner...
[default] Running cleanup tasks for 'puppet' provisioner...
/usr/lib/ruby/vendor_ruby/net/scp.rb:392:in `await_response_state': scp: ~/.bash_profile: No such file or directory (RuntimeError)
from /usr/lib/ruby/vendor_ruby/net/scp.rb:363:in `block (3 levels) in start_command'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:311:in `call'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:311:in `process'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:217:in `block in preprocess'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:217:in `each'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:217:in `preprocess'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:200:in `process'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:164:in `block in loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:164:in `loop'
.
.
.
.
.
我正在使用以下版本: Ubuntu 14.04LTS 流浪者 1.4.3 虚拟机 4.3.36
这些是我的尝试,但没有运气:
sudo rm /etc/exports
sudo touch /etc/exports
vagrant halt
vagrant up --provision
$ vagrant plugin install vagrant-vbguest
【问题讨论】:
标签: ubuntu vagrant ubuntu-14.04 virtualbox