Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use vagrant-proxyconf with Ubuntu Snappy image #121

Open
thjaeckle opened this issue Apr 27, 2015 · 3 comments
Open

Unable to use vagrant-proxyconf with Ubuntu Snappy image #121

thjaeckle opened this issue Apr 27, 2015 · 3 comments

Comments

@thjaeckle
Copy link

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
@tmatilai
Copy link
Owner

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.

@tmatilai
Copy link
Owner

Oh, which vagrant-proxyconf version are you using? That inter-device mv should have been fixed a long time ago.

@tmatilai
Copy link
Owner

I'll take that back, it's still here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants