Commit 9ba45e0a authored by Leigh Stoller's avatar Leigh Stoller

Couple of impotent mode fixes.

parent 854aef8d
......@@ -11,7 +11,7 @@ sub InstallUpdate($$)
#
# Need to run this after the protogeni SQL update and install
#
if ($PGENISUPPORT && $phase eq "post") {
if ($PGENISUPPORT && $phase eq "post" && !IMPOTENT_MODE()) {
require GeniDB;
my $genidbnum = GeniDB::DBConnect(GeniDB::GENICM_DBNAME());
return 0
......
......@@ -14,6 +14,9 @@ sub InstallUpdate($$)
{
my ($version, $phase) = @_;
return 0
if (IMPOTENT_MODE());
if ($phase eq "pre") {
Phase "hostkeys", "Grabbing existing keys and root password", sub {
my $failed = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment