-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sonic_installer]Add --skip-platform-check option for sonic_installer…
… when image mismatch (#1791) What I did Add --skip-platform-check option for sonic_installer; How I did it Add --skip-platform-check option for sonic_installer when image ASIC mismatch; Split verify_binary_image to verify_secureboot_image and verify_image_platform to handle image verification more accurately. How to verify it Installing a bin file which differs the running platform's ASIC will fail. Previous command output (if the output of a command-line utility has changed) sudo sonic-installer install --help Usage: sonic-installer install [OPTIONS] URL Install image from local binary or URL Options: -y, --yes -f, --force_install Force installation of an image of a type which differs from that of the current running image --skip_migration Do not migrate current configuration to the newly installed image --skip-package-migration Do not migrate current packages to the newly installed image --help Show this message and exit. New command output (if the output of a command-line utility has changed) Options: -y, --yes -f, --force, --skip-secure-check Force installation of an image of a non- secure type than secure running image --skip-platform-check Force installation of an image of a type which is not of the same platform --skip_migration Do not migrate current configuration to the newly installed image --skip-package-migration Do not migrate current packages to the newly installed image --help Show this message and exit.
- Loading branch information
Showing
6 changed files
with
63 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters