Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The creation of nodes requires you to use a template (shown below) instead of using a command line argument; this is because there is a lot of information needed about the node NMIS requires numerous node properties to be set up correctly making it easy to miss some when operating via command line arguments. Node creation is triggered by the argument act=create, which behaves mostly like act=update, except that it doesn't touch existing nodes. To help you with starting a node configuration document from scratch (or in a scripted fashion), there is another command, act=mktemplate, which prints a blank but documented template which you can save and fill in. If you add placeholder=1 to the command line, then node_admin fills the template with easily matchable replacement placeholders, like so:

...