quote to prevent bash history expansion

This commit is contained in:
Trevor Cooper 2023-09-28 19:48:56 -07:00
parent c4a3472280
commit c87615d5a7
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ sub run {
# deploy as a replica
my ($ip, $hostname) = split(/ /, get_var("POST_STATIC"));
my $args = "--ip-address=$ip --setup-dns --auto-forwarders --setup-ca --allow-zone-overlap -U --principal admin --admin-password $ipa_admin_password";
my $args = "--ip-address=$ip --setup-dns --auto-forwarders --setup-ca --allow-zone-overlap -U --principal admin --admin-password '$ipa_admin_password'";
assert_script_run "ipa-replica-install $args", 1500;
# enable and start the systemd service