Skip to content

NOS to SONiC migration fixes#4807

Merged
lguohan merged 1 commit intosonic-net:masterfrom
padmanarayana:nos2sonic_migration
Jun 19, 2020
Merged

NOS to SONiC migration fixes#4807
lguohan merged 1 commit intosonic-net:masterfrom
padmanarayana:nos2sonic_migration

Conversation

@padmanarayana
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

retest vs please

@padmanarayana
Copy link
Copy Markdown
Contributor Author

retest vsimage please

@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Jun 19, 2020

retest baseimage please

@lguohan
Copy link
Copy Markdown
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