I've got the following Configuration Template and it works great except that there doesn't seem to be a native way to support the whitespace that I want to use. The system seems to nix the extra new lines and condenses the multiple spaces that I use for readability to a single space. Is there a way to say this is a "non-breaking" or the like?
/*
.CHANGE_TEMPLATE_DESCRIPTION
This change template configures a default banner for login.
.CHANGE_TEMPLATE_TAGS
Cisco, IOS, Banner
.PLATFORM_DESCRIPTION
Cisco IOS
.PARAMETER_LABEL @ContextNode
NCM Node
.PARAMETER_DESCRIPTION @ContextNode
The node the template will operate on. All templates require this by default. The target node is selected during the first part of the wizard so it will not be available for selection when defining values of variables.
*/
script ConfigureMOTDBanner (NCM.Nodes @ContextNode)
{
// Enter configuration mode
CLI
{
configure terminal
no banner motd
banner motd #
=========================================
Company Name Goes Here
=========================================
Hostname: @ContextNode.NodeCaption
Model: @ContextNode.MachineType
Site: @ContextNode.NodeGroup
IP: @ContextNode.AgentIP
=========================================
Authorized Access Only
=========================================#
}
}