Selecting OPBNOS on next boot

To specify OPBNOS image on next reboot, use the following command:

Reference

Command

nextboot-image < image_name>

Description

Set next image to be loaded after the reboot

Parameters

ImageName - Can be obtained from "show

boot"

Mode

EXEC

List the available images using the following command:

pbnoscli# show boot

CLI Example

pbnoscli# show boot
Current: SONiC-OS-HEAD.0-dirty-20200701.145853
Next: SONiC-OS-HEAD.0-dirty-20200701.145853
Available:
SONiC-OS-HEAD.0-dirty-20200701.145853
SONiC-OS-HEAD.0-dirty-20200530.020007

Select image to boot on next reboot using below command:

pbnoscli# nextboot-image SONiC-OS-HEAD.0-dirty-20200701.145853

Last updated