Option -y, --assumeyes in upgrade run do not answer yes for yum update
Description of problem: We were trying to run upgrade with --assumeyes option.But still while performing yum update it will ask for answer.
*Version-Release number of selected component (if applicable):*Foreman-maintain snap 2.0
Steps to Reproduce:
1.# foreman-maintain upgrade run -h
foreman-maintain upgrade run [OPTIONS]
--target-version TARGET_VERSION Target version of the upgrade
-y, --assumeyes Automatically answer yes for all questions
-w, --whitelist whitelist Comma-separated list of labels of steps to be ignored
-f, --force Force steps that would be skipped as they were already run
--phase phase run only a specific phase
-h, --help print help
2.# foreman-maintain upgrade run --target-version 6.3 -w "repositories-setup" -y
Ask for answer while yum update
Install 7 Packages (+85 Dependent packages)
Upgrade 172 Packages
Total download size: 105 M
Is this ok [y/d/N]:
It should not ask for yes if -y /--assumeyes option is passed.
#3 Updated by Kavita Gaikwad about 3 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
Applied in changeset foreman_maintain|461c01aceba742ca0bd936dab85daa47b198590d.