Need to know how to script “zypper up” and “zypper in <package>” unattended.
In both these scenarios, the script is failing because by default zypper always requests User confirmation of the action.
Curiously, I cannot find a zypper command that answers to the affirmative or disables the verification,
There are only switches for non-interactive (after the verification) like interactive updates, auto-verification of licenses, set repositories to auto-refresh, etc.
But, I can’t find a way to auto-answer the verification of the main action when executing a “zypper up” or a “zypper in”
I’m sure must exist somewhere, anyone know this should be done?
TIA,
TSU