I’m guessing you use `apt`, in which case you might try:
```
export DEBIAN_FRONTEND=unattended
apt update
apt upgrade -y
```
On 30 Mar 2020, at 21:50, Monosij Dutta-Roy wrote:
Hi All -
Been using Vagrant for a while, using latest 2.2.7 on Ub. 19.10, and
had a
question on how to automate choices when installing upgrades to a box
-
running bash scripts during provisioning.
It does not happen, especially in Ubuntu boxes I use, but happens more
than
often in Debian/ CentOS boxes - and I have not figured out how to fix
them.
So today it happened on the Ubuntu 20.04 box when it ran the script to
update the kernel and it was asking with three choices regards update
of
the boot configuration.
So I can wait until tomorrow and get latest or thought I would ask
here and
see what I can do to, if not automate, but at least to choose - it
does not
allow choices manually and the system just hangs by waiting and not
allowing to choose.
So just wondering what I can do to better enable this please.
Thus - *is there a way to call vagrant up with some options* so *it
takes
all default choices on any install options that come up*?
Hope my question is clear.
Thank you and best wishes to you all at Hashi and otherwise, and to
your
friends and family in staying safe.
Mono
--
This mailing list is governed under the HashiCorp Community Guidelines
- https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this
mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google
Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/3744846b-9cf4-4d93-8079-b26f62878c78%40googlegroups.com.
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/AF67590D-C5A4-444B-87CA-6E9755821230%40gmail.com.