And easy way to avoid interactive installation can be with: 
# echo "dbconfig-common dbconfig-common/mysql/admin-pass        password essex" 
 | debconf-set-selections
# echo "keystone        keystone/auth-token     string 999888777666" | 
debconf-set-selections
# cat >> /etc/dbconfig-common/keystone.conf << EOF
dbc_dbadmin='root'
dbc_dbname='keystone'
dbc_dbpass='essex'
dbc_dbtype='mysql'
dbc_dbuser='keystone'
dbc_install='true'
dbc_upgrade='true'
EOF
# DEBIAN_FRONTEND=noninteractive apt-get install keystone

And to remove and purge the database:
# echo "keystone        keystone/dbconfig-remove        boolean true" | 
debconf-set-selections 
# echo "dbconfig-common dbconfig-common/purge   boolean true" |  
debconf-set-selections
# DEBIAN_FRONTEND=noninteractive apt-get remove keystone

Maybe, you will also need before everything: 
# echo  "dbconfig-common dbconfig-common/remember-admin-pass     boolean true" 
| debconf-set-selections

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/931236

Title:
  keystone install is unnecessarily interactive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to