51-hosts adds two blank lines every invocation

Bug #1839222 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alex Schultz

Bug Description

Everytime that /usr/libexec/os-refresh-config/configure.d/51-hosts runs, it adds a line before and after the # HEAT_HOSTS_{START,STOP} blocks.

+ echo -ne '# HEAT_HOSTS_END\n\n'
+ sed '1,/^# HEAT_HOSTS_END/d' /etc/hosts
+ echo 'INFO: Updating hosts file /etc/hosts, check below for changes'
INFO: Updating hosts file /etc/hosts, check below for changes
+ diff /etc/hosts /tmp/tmp.D6x96XJ8lw
23a24
>
50a52
>
+ true
+ cat /tmp/tmp.D6x96XJ8lw

Changed in tripleo:
milestone: none → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.