Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
portusctl: don't configure mysql in docker
Browse files Browse the repository at this point in the history
bsc#976198

Signed-off-by: Miquel Sabaté Solà <[email protected]>
  • Loading branch information
mssola committed Apr 20, 2016
1 parent 9a76f0f commit 2025da8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packaging/suse/portusctl/lib/configurator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ def database_config

# Creates the database and performs the migrations
def create_database
if dockerized?
puts "Running inside of a docker container"
puts "No systemd support, skipping mysql configuration"
return
end

Runner.activate_service("mysql") if database_local?

env_variables = {
Expand Down

0 comments on commit 2025da8

Please sign in to comment.