10-26-2020 11:07 AM
Hello, hope you are well
I am trying to create a service template that is configuring a confd server, which contains some variables as part of the config:
{{K8S_SSH_IP}} is a variable that is part of the configuration to be sent, not meant to be replaced by NSO.
On packages reload, I see the following error:
info deployments-5g-template.xml:50 failed to compile: '{K8S_SSH_IP' reason: Invalid name: {K8S_S
Is there a way to escape those characters so the XML engine does not try to parse them?
Thanks in advance
Solved! Go to Solution.
10-26-2020 11:51 AM
Yes, you can '\' backslash the curly brackets:
<netplan> <template>network: ethernets: ens192: addresses: [\{\{K8S_SSH_IP\}\}/26] dhcp4: false </template> </netplan>
10-26-2020 11:51 AM
Yes, you can '\' backslash the curly brackets:
<netplan> <template>network: ethernets: ens192: addresses: [\{\{K8S_SSH_IP\}\}/26] dhcp4: false </template> </netplan>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide