diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go index 0a185a32d..c980e183c 100644 --- a/pkg/cmd/install.go +++ b/pkg/cmd/install.go @@ -774,9 +774,9 @@ func installCommand() *cli.Command { if channelRelease, err := release.GetChannelRelease(); err != nil { return fmt.Errorf("unable to read channel release data: %w", err) } else if channelRelease != nil && channelRelease.Airgap && c.String("airgap-bundle") == "" && !c.Bool("no-prompt") { - logrus.Warnf("You downloaded an air gap bundle but are performing an online installation.") - logrus.Infof("To do an air gap installation, pass the air gap bundle with --airgap-bundle.") - if !prompts.New().Confirm("Do you want to proceed with an online installation?", false) { + logrus.Warnf("You downloaded an air gap bundle but didn't provide it with --airgap-bundle.") + logrus.Warnf("If you continue, the installation will not use an air gap bundle and will connect to the internet.") + if !prompts.New().Confirm("Are you sure you want to install without an air gap bundle?", false) { return ErrNothingElseToAdd } } diff --git a/pkg/cmd/restore.go b/pkg/cmd/restore.go index 68baed2b8..4fafe1698 100644 --- a/pkg/cmd/restore.go +++ b/pkg/cmd/restore.go @@ -945,9 +945,9 @@ func restoreCommand() *cli.Command { if channelRelease, err := release.GetChannelRelease(); err != nil { return fmt.Errorf("unable to read channel release data: %w", err) } else if channelRelease != nil && channelRelease.Airgap && c.String("airgap-bundle") == "" && !c.Bool("no-prompt") { - logrus.Infof("You downloaded an air gap bundle but are performing an online restore.") - logrus.Infof("To do an air gap restore, pass the air gap bundle with --airgap-bundle.") - if !prompts.New().Confirm("Do you want to proceed with an online restore?", false) { + logrus.Warnf("You downloaded an air gap bundle but didn't provide it with --airgap-bundle.") + logrus.Warnf("If you continue, the restore will not use an air gap bundle and will connect to the internet.") + if !prompts.New().Confirm("Are you sure you want to restore without an air gap bundle?", false) { return ErrNothingElseToAdd } }