Skip to content

[202012] Clear /etc/resolv.conf before building image#12686

Merged
kevinskwang merged 1 commit intosonic-net:202012from
devpatha:202012
Nov 15, 2022
Merged

[202012] Clear /etc/resolv.conf before building image#12686
kevinskwang merged 1 commit intosonic-net:202012from
devpatha:202012

Conversation

@devpatha
Copy link
Copy Markdown
Contributor

Master PR: #12592

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

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

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

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

@kevinskwang kevinskwang merged commit acca64a into sonic-net:202012 Nov 15, 2022
@devpatha devpatha deleted the 202012 branch November 15, 2022 16:58
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.

2 participants