Skip to content

Commit ec69645

Browse files
Erik Hollensbeshaleman
Erik Hollensbe
authored andcommitted
Vagrantfile,.gitignore: correct resolv.conf handling now that this is no longer an issue (#384)
Signed-off-by: Erik Hollensbe <[email protected]>
1 parent 32e9543 commit ec69645

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ _testmain.go
3131

3232
bin/*
3333

34-
resolv.conf
35-
3634
# python
3735
*.pyc
3836

Vagrantfile

-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ require 'fileutils'
55

66
# netplugin_synced_gopath="/opt/golang"
77
gopath_folder="/opt/gopath"
8-
FileUtils.cp "/etc/resolv.conf", Dir.pwd
98

109
cluster_ip_nodes = ""
1110

@@ -27,8 +26,6 @@ echo "export USE_RELEASE=$6" >> /etc/profile.d/envvar.sh
2726
echo "export no_proxy=$3,127.0.0.1,localhost,netmaster" >> /etc/profile.d/envvar.sh
2827
echo "export CLUSTER_NODE_IPS=$3" >> /etc/profile.d/envvar.sh
2928
source /etc/profile.d/envvar.sh
30-
mv /etc/resolv.conf /etc/resolv.conf.bak
31-
cp #{gopath_folder}/src/github.com/contiv/netplugin/resolv.conf /etc/resolv.conf
3229
3330
if [[ $# -gt 9 ]] && [[ $10 != "" ]]; then
3431
shift; shift; shift; shift; shift; shift; shift; shift; shift

0 commit comments

Comments
 (0)