Project

General

Profile

Actions

Bug #4142

closed

/etc/hosts gets messed up by sed commands

Added by Jonathan CLARKE about 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
Vagrant
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The change from commit:f3c6d83cbe5a7761d4be6d37533e09c6dc22f08c causes this to happen to my hosts files:

[vagrant@server ~]$ cat /etc/hosts
127.0.0.1    server.rudder.local.rudder.local.rudder.local.rudder.local.rudder.local.rudder.local server localhost localhost.localdomain localhost4 localhost4.localdomain4

The sed command ends up adding the ".rudder.local" suffix multiple times. It needs fixing.

Actions

Also available in: Atom PDF