Skip to content

Commit

Permalink
Update all references to new 'sonic-installer' file name (sonic-net#1033
Browse files Browse the repository at this point in the history
)

`sonic_installer` has been renamed `sonic-installer`. Update the application name everywhere it is used.
  • Loading branch information
jleveque authored Aug 11, 2020
1 parent 0225c09 commit 7ae8024
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/fast-reboot
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ function reboot_pre_check()
exit ${EXIT_FILE_SYSTEM_FULL}
fi
# Verify the next image by sonic_installer
# Verify the next image by sonic-installer
INSTALLER_VERIFY_RC=0
sonic_installer verify-next-image > /dev/null || INSTALLER_VERIFY_RC=$?
sonic-installer verify-next-image > /dev/null || INSTALLER_VERIFY_RC=$?
if [[ INSTALLER_VERIFY_RC -ne 0 ]]; then
error "Failed to verify next image. Exit code: $INSTALLER_VERIFY_RC"
exit ${EXIT_SONIC_INSTALLER_VERIFY_REBOOT}
Expand Down
4 changes: 2 additions & 2 deletions scripts/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function reboot_pre_check()
fi
rm ${filename}

# Verify the next image by sonic_installer
local message=$(sonic_installer verify-next-image 2>&1)
# Verify the next image by sonic-installer
local message=$(sonic-installer verify-next-image 2>&1)
if [ $? -ne 0 ]; then
VERBOSE=yes debug "Failed to verify next image: ${message}"
exit ${EXIT_SONIC_INSTALLER_VERIFY_REBOOT}
Expand Down
2 changes: 1 addition & 1 deletion sonic_installer/exception.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Module sonic_installer exceptions
Module sonic-installer exceptions
"""

class SonicRuntimeException(Exception):
Expand Down

0 comments on commit 7ae8024

Please sign in to comment.