vagrant-proxyconf
vagrant-proxyconf copied to clipboard
Unable to use vagrant-proxyconf with Ubuntu Snappy image
I am trying to get vagrant-proxyconf running with Ubuntu Snappy 15.04:
config.vm.box = "http://cloud-images.ubuntu.com/snappy/15.04/core/stable/current/core-stable-amd64-vagrant.box"
Config is:
if Vagrant.has_plugin?( "vagrant-proxyconf" )
config.proxy.http = "my.proxy.de:3128"
config.proxy.https = "my.proxyde:3128"
config.proxy.no_proxy = "localhost,127.0.0.1"
end
But on "vagrant up" I get following error:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mv -f /tmp/vagrant-proxyconf /etc/apt/apt.conf.d/01proxy
Stdout from the command:
Stderr from the command:
sudo: unable to resolve host ubuntu-core-stable-2
stdin: is not a tty
mv: inter-device move failed: ???/tmp/vagrant-proxyconf??? to ???/etc/apt/apt.conf.d/01proxy???; unable to remove target: Read-only file system
Ouch. I guess they use tmpfs or something for /tmp now... I'tt try to repro and fix this week, if someone else is faster, please proceed. =)
Btw, you should add http://
prefix for the proxy configurations, or some programs will error.
Oh, which vagrant-proxyconf version are you using? That inter-device mv should have been fixed a long time ago.
I'll take that back, it's still here.