Skip to content

Conversation

@bzp2010
Copy link
Contributor

@bzp2010 bzp2010 commented Nov 24, 2021

What this PR does / why we need it:

Improve the script to modify DNS configuration in CI environment to adapt to Netplan + systemd-networkd + systemd-resolve environment in Ubuntu. The current method of overwriting /etc/resolv.conf directly may not work in some extreme cases.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@bzp2010 bzp2010 added the CI label Nov 24, 2021
@bzp2010 bzp2010 self-assigned this Nov 24, 2021
@bzp2010 bzp2010 marked this pull request as draft November 24, 2021 14:53
@bzp2010 bzp2010 marked this pull request as ready for review November 25, 2021 02:40
@bzp2010 bzp2010 requested a review from membphis November 25, 2021 05:43
@bzp2010
Copy link
Contributor Author

bzp2010 commented Nov 25, 2021

ping @spacewander @membphis

@membphis membphis merged commit 783b387 into apache:master Nov 25, 2021
besich pushed a commit to besich/apisix that referenced this pull request Dec 1, 2021
CentOS docker: use `--dns` parameter
Ubuntu: use `netplan`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants