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

manifests.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 6 months ago
parent 566887462e
commit 8dc3a8262f
  1. 6
      Anvil/Tools/Striker.pm
  2. 15
      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.
=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)
@ -382,7 +382,7 @@ sub generate_manifest
if (not $manifest_uuid)
{
# 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!!');
}

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

Loading…
Cancel
Save