Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all references to new 'sonic-installer' file name #1033

Merged
merged 1 commit into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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