-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
4.15.z
-
No
-
False
-
Situation: attempted rollback - it failed and the API is not UP. After debugging I want to rollback.
This can be done with:
ostree admin status (shows the available entries)
ostree admin set-default <INDEX> - change the default entry
[root@target-0-0 ~]# ostree admin status
* rhcos_4.15.5 20b9836602639c4cc6ab18469eb48584c7fa1becc665bab99bface3195c54363.0
origin: <unknown origin type>
rhcos e130404f1980d087ffa4417a839d360e943d9e9af10961d087bb94c2ad6d038b.1
origin: <unknown origin type>
[root@target-0-0 ~]# ostree admin set-default 1
Bootloader updated; bootconfig swap: yes; bootversion: boot.0.1, deployment count change: 0
[root@target-0-0 ~]# ostree admin status
rhcos e130404f1980d087ffa4417a839d360e943d9e9af10961d087bb94c2ad6d038b.1
origin: <unknown origin type>
* rhcos_4.15.5 20b9836602639c4cc6ab18469eb48584c7fa1becc665bab99bface3195c54363.0
origin: <unknown origin type>