Skip to content

Commit

Permalink
Merge pull request StackStorm#199 from cognifloyd/centos6_yum_without…
Browse files Browse the repository at this point in the history
…_progress_bars

Lower yum log level to avoid travis log length limit on centos-6
  • Loading branch information
armab authored Sep 21, 2018
2 parents 60b1527 + 8f924fd commit 7a1b20e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .kitchen-docker/centos6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ RUN touch /home/<%= @username %>/.ssh/authorized_keys
RUN chown <%= @username %> /home/<%= @username %>/.ssh/authorized_keys
RUN chmod 0600 /home/<%= @username %>/.ssh/authorized_keys
RUN echo '<%= IO.read(@public_key).strip %>' >> /home/<%= @username %>/.ssh/authorized_keys

# yum output is too verbose (and includes expensive download progress bars)
# which tripped the travis log length limit for centos-6
RUN /bin/sed -i "s/^[#]*debuglevel=.*/debuglevel=1/" /etc/yum.conf

0 comments on commit 7a1b20e

Please sign in to comment.