mirror of
https://github.com/rancher/os.git
synced 2025-08-30 21:26:09 +00:00
Don't prompt / reboot if there was an install error
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
parent
23edbd05e8
commit
e80342d369
@ -145,6 +145,7 @@ func installAction(c *cli.Context) error {
|
||||
|
||||
if err := runInstall(image, installType, cloudConfig, device, kappend, force, kexec, isoinstallerloaded); err != nil {
|
||||
log.WithFields(log.Fields{"err": err}).Fatal("Failed to run install")
|
||||
return err
|
||||
}
|
||||
|
||||
if !kexec && reboot && (force || yes("Continue with reboot")) {
|
||||
|
Loading…
Reference in New Issue
Block a user