tmatilai / vagrant-proxyconf

Vagrant plugin that configures the virtual machine to use proxies
MIT License
531 stars 74 forks source link

doesn't work with rancheros #139

Closed ozbillwang closed 7 years ago

ozbillwang commented 8 years ago

Vagrantfile is at https://github.com/rancher/os-vagrant/blob/master/Vagrantfile

and add in Vagrantfile

config.proxy.http     = "http://yourproxy:8080"
config.proxy.https    = "http://yourproxy:8080"
config.proxy.no_proxy = "localhost,127.0.0.1"

Error message:

==> rancher-01: Configuring proxy for Docker...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

touch /etc/default/docker

Stdout from the command:

Stderr from the command:

touch: /etc/default/docker: No such file or directory
ghost commented 5 years ago

Same with another box:

vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'sgdan/rancher2' version '0.0.2' is up to date...
==> default: Configuring proxy for Docker...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

touch /etc/default/docker

Stdout from the command:

Stderr from the command:

touch: /etc/default/docker: No such file or directory