Forum Discussion
rayrays_343509
Nimbostratus
Dec 11, 2017[TMSH] create ltm rule and auto save (not enter vi editor)
Hi everyone.
I am trying to create an iRule and auto save data without enter editor model or any prompt (like: (save change? y/n/e ) at the TMOS .
But i can't find any way to resolve the q...
crodriguez
Dec 13, 2017Ret. Employee
I'm assuming you want the script to also contain the actual iRule code which you then plug into the "tmsh create /ltm rule..." command. If so, there's a good example here provided by Kevin Stewart. Basically, the script creates a properly formatted iRule in a temporary file (including newlines) and then imports that into the config via merge.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects