Skip to content
Advertisement

ArangoDB Unattended Install in Vagrant Box

Trying to setup an Unattended install of ArangoDB in a Vangrant Ubuntu box. I’ve followed the Unattended install instructions here: https://docs.arangodb.com/3.1/Manual/GettingStarted/Installing/Linux.html

However, this accounts for the password prompts, but not for the database upgrade and backup database files prompts. How does one go about silencing these?

Advertisement

Answer

Ok I figured this out. Basically you need to use a the following command:

JavaScript

If you get a “debconf-get-selections command not found error” then you need to install the debconf-utils package like so:

JavaScript

This will spit out a list like this:

JavaScript

These are all the keys and types you’ll need to set up an unattended install. When I say key and type I’m referring to:

JavaScript

In the example above the package is arangodb3, the key is backup, and the type is boolean. Then in your setup script you need to include it like so with your chosen values:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement