Updated pod on requiring 'new' for manifest_uuid when creating new

manifests.

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

@ -312,9 +312,9 @@ This is a comma-separated list of DNS servers to use.
This is the domain name to use for this Anvil! node. This is the domain name to use for this Anvil! node.
=head3 manifest_uuid (optional) =head3 manifest_uuid (required)
This allows updating an existing mannifest, or specifying the manifest UUID to use for the new manifest. This allows updating an existing manifest, or specifying the manifest UUID to use for the new manifest. When creating a new manifest, set this to C<< new >>.
=head3 mtu (optional) =head3 mtu (optional)
@ -382,7 +382,7 @@ sub generate_manifest
if (not $manifest_uuid) if (not $manifest_uuid)
{ {
# Don't proceed, we'd get an invalid manifest. # Don't proceed, we'd get an invalid manifest.
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 0, priority => "err", key => "warning_0159"}); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 0, priority => "err", key => "warning_0041"});
return('!!error!!'); return('!!error!!');
} }

@ -1073,6 +1073,7 @@ 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,
manifest_uuid => "new",
dns => $network_dns, dns => $network_dns,
domain => $domain, domain => $domain,
mtu => $network_mtu, mtu => $network_mtu,

Loading…
Cancel
Save