Interacively --pass-io to Whonix Template when using costom script to update.

When updating Qubes-Whonix TemplateVMs from dom0 using a custom script. Is it possible (or even advisable) to interactively interact when prompted with something like.

Configuration file '/etc/machine-id'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** machine-id (Y/I/N/O/D/Z) [default=N] ? 

Obviously its not a good idea to put -y (yes to all) when updating.

1 Like

Possible yes.

Did this work for you?

In short

sudo apt-get-noninteractive --yes dist-upgrade

should not ask any questions.