mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-26 19:24:56 +00:00
[baseimage]: Log message containing SONiC version to syslog at boot (#3416)
This commit is contained in:
@@ -121,6 +121,8 @@ program_console_speed()
|
||||
|
||||
#### Begin Main Body ####
|
||||
|
||||
logger "SONiC version ${SONIC_VERSION} starting up..."
|
||||
|
||||
# If the machine.conf is absent, it indicates that the unit booted
|
||||
# into SONiC from another NOS. Extract the machine.conf from ONIE.
|
||||
if [ ! -e /host/machine.conf ]; then
|
||||
|
||||
Reference in New Issue
Block a user