-- Dimitar Yordanov Systems Management QA #satellite-qa
From fd33801c43e02396a6f9937d83fe5a1db801accf Mon Sep 17 00:00:00 2001 From: Dimitar Yordanov <dyord...@redhat.com> Date: Tue, 4 Feb 2014 23:12:15 +0100 Subject: [PATCH] 484950 - clear-db flag does not do what in --help
--- spacewalk/setup/bin/spacewalk-setup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacewalk/setup/bin/spacewalk-setup b/spacewalk/setup/bin/spacewalk-setup index 38a001b..61303d2 100755 --- a/spacewalk/setup/bin/spacewalk-setup +++ b/spacewalk/setup/bin/spacewalk-setup @@ -50,6 +50,8 @@ my $product_name = $answers{'product_name'} || 'Spacewalk'; $answers{hostname} ||= Sys::Hostname::hostname; +$opts{"skip-db-install"} = 1 if $opts{"clear-db"}; + # Skip the logfile init, normally just used when called from install.pl, # which already did this. if (not $opts{"skip-logfile-init"}) { -- 1.8.3.1
_______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel