Questions tagged [debconf]
18 questions
67
votes
5 answers
automate dpkg-reconfigure tzdata
I'm using puppet to admin a cluster of debian servers. I need to change the timezone of each machine on the cluster. The proper debian way to do this is to use dpkg-reconfigure tzdata. But I can only seem to change it if I use the dialog. Is…
razor
8
votes
2 answers
How do I make Ansible actually compile a config file having changed my debconf settings for an application?
I'm using Ansible to try to configure all of the workstations involved with a particular project to be able to use BitTorrent sync with a standard configuration (this is actually just an example of the kind of thing I want to do).
When I execute the…
Salim Fadhley
- 183
- 1
- 4
6
votes
5 answers
setting debconf selections for keyboard-configuration fails... layout ends up as Afghani
I have a machine I netinstalled, with german keyboard set, but it ignored my setting, and it is installed with US keyboard. I'm sure I set it, because if I don't set it, it asks interactively, but I wanted an unattended install.
It's Ubuntu…
Peter
- 2,546
- 1
- 18
- 25
5
votes
1 answer
dpkg-reconfigure: dialog frontend sets up postfix successfully; non-interactive frontend fails
(N.B. In this question, a leading # indicates a root prompt, not a comment. Also, I have replaced the actual hostname with .)
As the debconf (7) man-page states, dpkg-reconfigure can be invoked with any one of several front-ends,…
user61015
5
votes
1 answer
debconf is ignoring my default anwsers
I'm trying to set default answers to debconf to automate exim config. I'm setting up new values with debconf-set-selections, but debconf ignores it. I'm puzzled. Here is a short copy/paste of my problem :
root@vm-iwd:/var/cache/debconf#…
DeLoVaN
- 91
- 6
2
votes
1 answer
Showing message to the user during a Debian unattended preseeded installation
During the late_command step of an unattended installation, I'm running a shell script :
d-i preseed/late_command string in-target /bin/sh -c './execute-script.sh'
When the late_command step is reached, the UI (blue background, grey window) displays…
Bil5
- 143
- 5
1
vote
1 answer
Configuration of self-made .deb package
I'm trying to make my own debian package to deploy some scripts.
I need some parameters from the user, I'm gathering them using debconf.
So I made a DEBIAN subfolder, and put control, templates and config files into it.
Then I build my package with…
mooky
- 43
- 4
1
vote
0 answers
MySQL cluster unattended installation
I would like to install MySQL cluster without manual intervention. I tried following the steps on the official guide but couldn't quite get it to work.
What I have so far...
DEBIAN_FRONTEND=noninteractive
sudo apt-get install -y debconf-utils
#…
Mr. 14
- 111
- 2
1
vote
0 answers
Debian 9 automated install (OpenVZ) hangs on two different dialog screens
After redoing the installation by hand, I have more information, so therefor I am editing my post completely so it's better readable and hopefully someone can provide a workable solution or workaround for this issue.
I am using an OpenVZ container…
HudsonHawk
- 103
- 2
- 14
1
vote
1 answer
Does debconf-set-selections automatically deletes values from debconf database once they are used?
Consider the following typescript:
# export DEBIAN_FRONTEND="noninteractive"
# sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/remove-data-dir boolean true"
# echo GET mysql-community-server/remove-data-dir |…
x-yuri
- 1,845
- 1
- 22
- 27
1
vote
1 answer
debconf ssh install variable names
I am writing a bash shell script that sets up a server. To prevent it asking for e.g. the mysql server root password I use
debconf-set-selections <<< 'mysql-server mysql-server/root_password password roooot'
debconf-set-selections <<< 'mysql-server…
Michel H.
- 119
- 1
- 6
1
vote
3 answers
Debconf broke after system failure
I have some serious problems with one of my web servers running debian wheezy. It seem that last week the server center had an error which caused the machine to shutdown suddenly.
Since then some files seem to have gone corrupt.
sudo apt-get…
cb0
- 222
- 3
- 11
0
votes
1 answer
How do you determine correct debconf-set-selections, I am interested in exim specifically, but would like to know the general way
I need to configure exim non interactively but I'm having trouble determining the question answer key value pairs.
I would like to know how to find this info on other packages as they come up though.
nicxvan
- 11
- 2
0
votes
1 answer
MySQL installation with Ansible on Debian Wheezy
As the title suggests, I am trying to install MySQL Server 5.5 on Debian with Ansible.
Since this needs to be a silent installation, I provide the root password before the installation with debconf module. Here's the output for this:
changed:…
Deniz Acay
- 111
- 4
0
votes
0 answers
Cleanup after debconf-set-selections - no interaction installation
I have a problem with debconf-set-selections command. After I install percona server on my machine root password is located in several cache files. I am not sure if i can just delete this files or entire directory.
root@testing:/var/cache/debconf#…
Jevgeni Smirnov
- 492
- 1
- 6
- 22