[baseimage]: Log message containing SONiC version to syslog at boot (#3416)
This commit is contained in:
parent
d47ec5268c
commit
a27f12773b
@ -121,6 +121,8 @@ program_console_speed()
|
|||||||
|
|
||||||
#### Begin Main Body ####
|
#### Begin Main Body ####
|
||||||
|
|
||||||
|
logger "SONiC version ${SONIC_VERSION} starting up..."
|
||||||
|
|
||||||
# If the machine.conf is absent, it indicates that the unit booted
|
# If the machine.conf is absent, it indicates that the unit booted
|
||||||
# into SONiC from another NOS. Extract the machine.conf from ONIE.
|
# into SONiC from another NOS. Extract the machine.conf from ONIE.
|
||||||
if [ ! -e /host/machine.conf ]; then
|
if [ ! -e /host/machine.conf ]; then
|
||||||
|
Reference in New Issue
Block a user