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

NOS to SONiC migration fixes #4807

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

padmanarayana
Copy link
Contributor

- Why I did it
While migrating to SONiC 20181130, identified a couple of issues:

  1. union-mount needs /host/machine.conf parameters for vendor specific checks : however, in case of migration, the /host/machine.conf is extracted from ONIE only in https://github.com/Azure/sonic-buildimage/blob/master/files/image_config/platform/rc.local#L127.
  2. Since grub.cfg is updated to have net.ifnames=0 biosdevname=0, 70-persistent-net.rules changes are no longer required.

- How I did it

  1. Check for /host/machine.conf in union-mount.
  2. Remove 70-persistent-net.rules changes in rc.local

- How to verify it

Perform a migration to SONiC and check the errors no longer exist.

- Description for the changelog

NOS to SONiC migration fixes
- A picture of a cute animal (not mandatory but encouraged)

@padmanarayana
Copy link
Contributor Author

retest vs please

@padmanarayana
Copy link
Contributor Author

retest vsimage please

@lguohan
Copy link
Collaborator

lguohan commented Jun 19, 2020

retest baseimage please

@lguohan
Copy link
Collaborator

lguohan commented Jun 19, 2020

retest vsimage please

@lguohan lguohan merged commit 95e3cda into sonic-net:master Jun 19, 2020
yxieca pushed a commit that referenced this pull request Jun 19, 2020
While migrating to SONiC 20181130, identified a couple of issues:
1. union-mount needs /host/machine.conf parameters for vendor specific checks : however, in case of migration, the /host/machine.conf is extracted from ONIE only in https://github.com/Azure/sonic-buildimage/blob/master/files/image_config/platform/rc.local#L127.
2. Since grub.cfg is updated to have net.ifnames=0 biosdevname=0, 70-persistent-net.rules changes are no longer required.
abdosi pushed a commit that referenced this pull request Jun 20, 2020
While migrating to SONiC 20181130, identified a couple of issues:
1. union-mount needs /host/machine.conf parameters for vendor specific checks : however, in case of migration, the /host/machine.conf is extracted from ONIE only in https://github.com/Azure/sonic-buildimage/blob/master/files/image_config/platform/rc.local#L127. 
2. Since grub.cfg is updated to have net.ifnames=0 biosdevname=0, 70-persistent-net.rules changes are no longer required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants