Skip to content

[sonic_installer] use /etc/resolv.conf from the host when migrating p…#62

Closed
stepanblyschak wants to merge 1 commit intomasterfrom
reslv
Closed

[sonic_installer] use /etc/resolv.conf from the host when migrating p…#62
stepanblyschak wants to merge 1 commit intomasterfrom
reslv

Conversation

@stepanblyschak
Copy link
Copy Markdown
Owner

…ackages

Signed-off-by: Stepan Blyschak stepanb@nvidia.com

What I did

SONiC package migration has been failing due to the lack of DNS configuration for registries domain names.
I used /etc/resolv.conf from host OS when migrating.

How I did it

Copy /etc/resolv.conf into new image filesystem during migration, then, restore it back.

How to verify it

Run sonic-installer install.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

…ackages

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
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