Skip to content

Commit

Permalink
Update packages update all warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Jun 13, 2024
1 parent 20cdd9f commit 0280817
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion definitions/procedures/packages/update_all_confirmation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ def run
if @packages.nil? || @packages.empty?
question = "\nWARNING: No specific packages to update were provided\n" \
"so we are going to update all available packages.\n" \
"To Upgrade to next version use 'foreman-maintain upgrade'.\n\n" \
"We recommend using the update command to update to a minor version and/or\n" \
"operating system using 'foreman-maintain update'.\n" \
"to next version use 'foreman-maintain upgrade'.\n\n" \
"To upgrade to next version use 'foreman-maintain upgrade'.\n\n" \
"Do you want to proceed with update of everything regardless\n" \
'of the recommendations?'
answer = ask_decision(question, actions_msg: 'y(yes), q(quit)')
Expand Down

0 comments on commit 0280817

Please sign in to comment.