CML - Having quotes be inside a looping replace tag within a partial template (30 Views)
Reply
Occasional Contributor
Duff_Michael
Posts: 8
Registered: ‎05-12-2010
Message 1 of 1 (30 Views)

CML - Having quotes be inside a looping replace tag within a partial template

so within the file /etc/rc.config.d/netdaemons there is a line that indicates the following:

 

NTPDATE_SERVER=hostname1

 

but you can have

NTPDATE_SERVER="hostname1 hostname2 hostname3"

 

I have setup the template to be a partial template

 

@1]

 

NTPDATE_SERVER=@*103]<options here>@@.iprange@@[103@

 

 

What I need to know is, how do I ensure that quotes are surround multiple entries that we put within the template. i.e. when I enter more than one value, how do I surround the entire entry with double quotes?

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation