Skip to content

Commit

Permalink
CASMHMS-6283 Fix boot loop (#62)
Browse files Browse the repository at this point in the history
A missing `\n` in #61 prevents the `boot` command from getting called,
leading to a bootloop.
  • Loading branch information
rustydb authored Oct 4, 2024
1 parent 896d2c9 commit d4e5d6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.27.0
1.28.0
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.27.0]
## [1.28.0] - 2024-10-04

### Changed

- CASMHSM-6283: Fix loop caused by missing newline.

## [1.27.0] - 2024-09-30

### Changed

Expand Down
2 changes: 1 addition & 1 deletion cmd/boot-script-service/default_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ func buildBootScript(bd BootData, sp scriptParams, chain, role, subRole, descr s
u, err = checkURL(bd.Initrd.Path)
if err == nil {
script += "initrd --name initrd " + u + " || goto boot_retry\n"
script += "imgstat || echo Could not show image information."
script += "imgstat || echo Could not show image information.\n"
}
}
script += "boot || goto boot_retry\n:boot_retry\n"
Expand Down

0 comments on commit d4e5d6b

Please sign in to comment.