mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-27 03:33:52 +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 ####
|
#### 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