Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear /etc/resolv.conf before building image (#12592) #15104

Merged
merged 1 commit into from
May 18, 2023

Conversation

liushilongbuaa
Copy link
Contributor

@liushilongbuaa liushilongbuaa commented May 17, 2023

Why I did it

Cherry pick PR#12592
nameserver and domain entries from build system fsroot gets into sonic image.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Clear /etc/resolv.conf before building image

How to verify it

Built image with it and verified with install that /etc/resolv.conf is empty

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Why I did it
nameserver and domain entries from build system fsroot gets into sonic image.

How I did it
Clear /etc/resolv.conf before building image

How to verify it
Built image with it and verified with install that /etc/resolv.conf is empty
@liushilongbuaa liushilongbuaa requested a review from lguohan as a code owner May 17, 2023 02:56
@lguohan lguohan merged commit 6efb96c into sonic-net:202111 May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants