Fixed parameter names being sent to Striker->generate_manifest().

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 7 months ago
parent 3c52d1e28e
commit 566887462e
  1. 2
      Anvil/Tools/Striker.pm
  2. 14
      tools/striker-auto-initialize-all

@ -338,7 +338,7 @@ sub generate_manifest
my $self = shift; my $self = shift;
my $parameter = shift; my $parameter = shift;
my $anvil = $self->parent; my $anvil = $self->parent;
my $debug = $parameter->{debug} // 3; my $debug = defined $parameter->{debug} ? $parameter->{debug} : 3;
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => $debug, key => "log_0125", variables => { method => "Striker->generate_manifest()" }}); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => $debug, key => "log_0125", variables => { method => "Striker->generate_manifest()" }});
my $network_dns = defined $parameter->{dns} ? $parameter->{dns} : ""; my $network_dns = defined $parameter->{dns} ? $parameter->{dns} : "";

@ -1072,13 +1072,13 @@ sub create_manifest
# Now generate the manifest. # Now generate the manifest.
my ($manifest_uuid, $manifest_name) = $anvil->Striker->generate_manifest({ my ($manifest_uuid, $manifest_name) = $anvil->Striker->generate_manifest({
debug => 2, debug => 2,
network_dns => $network_dns, dns => $network_dns,
domain => $domain, domain => $domain,
network_mtu => $network_mtu, mtu => $network_mtu,
network_ntp => $network_ntp, ntp => $network_ntp,
name_prefix => $name_prefix, prefix => $name_prefix,
padded_sequence => $padded_sequence, sequence => $padded_sequence,
}); });
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => {
manifest_uuid => $manifest_uuid, manifest_uuid => $manifest_uuid,

Loading…
Cancel
Save