Skip to content

Commit

Permalink
Merge pull request #834 from ClusterLabs/beta-fixes
Browse files Browse the repository at this point in the history
Fixed issue #761
  • Loading branch information
ylei-tsubame authored Feb 10, 2025
2 parents 25688c8 + e9649d5 commit 0c21604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/anvil-change-password
Original file line number Diff line number Diff line change
Expand Up @@ -703,12 +703,12 @@ sub update_passwords
}

# Update our anvil.conf and all the other machines in the cluster.
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0027", variables => { file => $anvil->data->{switches}{'new-password'} }});
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0027", variables => { file => $anvil->data->{path}{configs}{'anvil.conf'} }});
$anvil->Storage->update_config({
debug => 2,
secure => 1,
variable => "database::${host_uuid}::password",
value => $anvil->data->{switches}{'new-password'},
value => $anvil->data->{switches}{'new-password'},
});
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0025"});

Expand Down

0 comments on commit 0c21604

Please sign in to comment.