Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
5c7728cc
Commit
5c7728cc
authored
Jul 24, 2018
by
Andrew Ladlow
Browse files
mysql: Don't ask for password if .mysql.hash exists
parent
a7a29c82
Changes
2
Hide whitespace changes
Inline
Side-by-side
mysql/debian/config
View file @
5c7728cc
...
...
@@ -2,10 +2,12 @@
.
/usr/share/debconf/confmodule
while
[
-z
"
$RET
"
]
;
do
db_input high symbiosis-mysql/admin_password
||
true
db_go
db_get symbiosis-mysql/admin_password
done
if
[
!
-e
/etc/first-boot.d/.mysql.hash
]
;
then
while
[
-z
"
$RET
"
]
;
do
db_input high symbiosis-mysql/admin_password
||
true
db_go
db_get symbiosis-mysql/admin_password
done
fi
exit
0
test/internal-test.d/conf-stretch/debconf-preseed
View file @
5c7728cc
...
...
@@ -7,7 +7,7 @@ mysql-server-5.5 mysql-server/root_password password semiconscious malpractice
# Repeat password for the MySQL "root" user:
mysql-server-5.5 mysql-server/root_password_again password semiconscious malpractice
# Set password for the MySQL "admin" user for phpMyAdmin access:
symbiosis-mysql symbiosis-mysql/admin_password password semiconscious malpractice
symbiosis-mysql
symbiosis-mysql/admin_password
password semiconscious malpractice
# Password of the database's administrative user:
phpmyadmin phpmyadmin/mysql/admin-pass password semiconscious malpractice
# Password of the database's administrative user:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment