mirror of
https://github.com/rancher/os.git
synced 2025-08-30 21:26:09 +00:00
Merge pull request #1682 from SvenDowideit/dont-prompt-for-reboot-on-install-failure
Don't prompt / reboot if there was an install error
This commit is contained in:
commit
6611eb1134
@ -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