Move single-request-reopen into OS specific scripts #174
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
related to #171
@juliandunn I've completed this move/change.
I established that Fedora 19 and 20 show the same issue under virtualbox.
packer/scripts/centos/ks.cfg
fix-slow-dns.sh
scripts for Fedora and Centos/RHEL. These are at the start of post-install script execution incase any later post-install scripts download things so they'll benefit from the fix./etc/sysconfig/network
, this is used whenresolv.conf
is generated when dhclient runs.resolv.conf
can be overwritten and the change lost otherwise.resolv.conf
, added a script to hook into that to add the required line toresolv.conf
In short this should apply only the the effected operating systems and persist past network changes/reboots.
How to reproduce:
To reproduce this issue I set up a basic Vagrant test: https://gist.github.com/rjocoleman/9161682
Bad:
Fixed