git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
8d12266
)
Add at the top.
author
Steven Black
<redacted>
Mon, 23 Nov 2015 14:07:36 +0000
(09:07 -0500)
committer
Steven Black
<redacted>
Mon, 23 Nov 2015 14:07:36 +0000
(09:07 -0500)
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 2f58087272c1250eb1489200e8a7369f5f7f48a1..ae13d1771efbd2bc28e9cf4dc6497c2d0db6ca9f 100755
(executable)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-292,6
+292,7
@@
def writeOpeningHeader(finalFile):
writeData( finalFile, '# ===============================================================\n' )
writeData( finalFile, '\n' )
writeData( finalFile, '127.0.0.1 localhost\n' )
+ writeData( finalFile, '::1 localhost\n' )
writeData( finalFile, '\n' )
preamble = os.path.join( BASEDIR_PATH, "myhosts" );
git clone https://git.99rst.org/PROJECT