Skip to content

Commit

Permalink
gen-config: remove double quotes from onie_platform
Browse files Browse the repository at this point in the history
Some old version of NOSes does not take double quotes into consideration
so that onie_platform extracted from recent machine.conf will have
double quotes that would be taken as an unsupported platform.

The original onie_platform was not surrounded by double quotes.  The
patch changes it back to the original format.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
  • Loading branch information
david56 authored and Curt Brune committed Jan 8, 2018
1 parent fe5b096 commit 33768d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootconf/default/etc/init.d/gen-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ EOF
local onie_platform="${onie_arch}-${onie_machine}-r${onie_machine_rev}"
cat <<EOF >> $machine_conf
onie_machine=$onie_machine
onie_platform="$onie_platform"
onie_platform=$onie_platform
EOF

}
Expand Down

0 comments on commit 33768d0

Please sign in to comment.