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

[install.sh] Install failed with ONIE 2017.11 #13413

Open
roberthong-qct opened this issue Jan 18, 2023 · 0 comments
Open

[install.sh] Install failed with ONIE 2017.11 #13413

roberthong-qct opened this issue Jan 18, 2023 · 0 comments
Labels
Help Wanted 🆘 Triaged this issue has been triaged

Comments

@roberthong-qct
Copy link
Contributor

roberthong-qct commented Jan 18, 2023

Description

The messages when installing a SONiC binary are shown below:

Installing SONiC in ONIE
ONIE Installer: platform: x86_64-broadcom-r0
/tmp/tmp.p2OaXD/installer/install.sh: .: line 1: can't open '/etc/machine-build.conf='
Failure: Unable to install image: ftp://172.18.0.161/sonic-broadcom.bin

Steps to reproduce the issue:

  1. Install a SONiC image with ONIE 2017.11
  2. Get failing messages

Describe the results you received:

The "read_config_file" which introduced in #6600
reads /etc/machine.conf to get var and value pairs.
However for ONIE 2017.11, /etc/machine.conf is a script that needs to be executed.

Describe the results you expected:

Install.sh should handle different types of /etc/machine.conf in ONIE

@neethajohn neethajohn added Help Wanted 🆘 Triaged this issue has been triaged labels Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted 🆘 Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

2 participants