☰
Debian Codegraph
@
11.2-5
/
/
tests
/
vagrant
/
vagrant-template-centos6
/
roles
/
fix-localhost
/
tasks
/
main.yml
☽
☼
tests/vagrant/vagrant-template-centos6/roles/fix-localhost/tasks/main.yml
code
plain
raw
symbols
SCIP
LGPL-3+
or
GPL-2
2006-2012, Red Hat, Inc.<http://www.redhat.com>
debian/copyright
1
---
2
-
name
:
remove IPv6 address for localhost
3
shell
:
sed -i '/::1/s/localhost //' /etc/hosts
4
5
-
name
:
add IPv4 address for localhost
6
shell
:
sed -i '/127.0.0.1/s/$/ localhost/' /etc/hosts