Forum Discussion
how to use a tmsh command to create a icall script ?
hi
i am writing a iapp including iall. so i must use tmsh command to create a icall script.
i use a variable (icall_script_name) as the script name, and i use another variable(icall_script_Get_HDP_Ips) as the script. The command is:
tmsh::create sys icall script ${icall_script_name} ${icall_script_Get_HDP_Ips}
but i get the error information: 010715bd:3: The parent folder is owned by application service (/Common/asfdsdf.app/asfdsdf), the object ownership cannot be changed to ().
Anyone can help me ?
Thanks you very much.
Ruiqiang Lu
1 Reply
- cjunior
Nacreous
Hi, I guess you could use the iapp package and do it with the following syntax:
package require iapp 1.0.0 iapp::template start tmsh::cd .. iapp::conf create sys icall script ${icall_script_name} definition \{ $icall_script_Get_HDP_Ips \} app-service none iapp::template endBut, the trick is "tmsh::cd .."
Regards.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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