When using apt-get upgrade -y or apt-get dist-upgrade -y Userdata fails and does not complete because the following messages are requiring interactive input:
Configuration file '/etc/issue'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
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.
*** issue (Y/I/N/O/D/Z) [default=N]
Configuration file '/etc/cloud/cloud.cfg'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
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.
*** cloud.cfg (Y/I/N/O/D/Z) [default=N]
Have tried the following commands within Userdata using advice from Stackoverflow but the result is the same:
When using
apt-get upgrade -y
orapt-get dist-upgrade -y
Userdata fails and does not complete because the following messages are requiring interactive input:Have tried the following commands within Userdata using advice from Stackoverflow but the result is the same:
For now have not included
apt-get upgrade -y
in the Userdata script.