编辑脚本

<p class="shortdesc">您可以修改已经添加的脚本。</p> <section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">登录<a class="xref" href="https://pinganyun.com/console/osp" target="_blank">系统管理服务OSP控制台</a>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">在左侧导航栏中,单击<span class="ph menucascade"><span class="ph uicontrol">基础配置</span><abbr> > </abbr><span class="ph uicontrol">常用脚本</span></span>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="keyword wintitle">常用脚本</span>页面,找到待执行的脚本,单击<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">编辑</span>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="keyword wintitle">添加脚本</span>页面,完成相关信息的修改。</span> <div class="itemgroup info"> <table class="table frame-all" id="editscript__table_u11_hcp_tkb"><caption></caption><colgroup><col style="width:24.87562189054727%"><col style="width:75.12437810945275%"></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="editscript__table_u11_hcp_tkb__entry__1">配置项</th> <th class="entry" id="editscript__table_u11_hcp_tkb__entry__2">说明</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__1 "> <p class="p"><span class="ph uicontrol">脚本名称</span></p> </td> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__2 "> <p class="p">关于该脚本执行任务的名称。</p> </td> </tr> <tr class="row"> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__1 "> <p class="p"><span class="ph uicontrol">描述</span></p> </td> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__2 "> <p class="p">关于该脚本执行任务的描述。</p> </td> </tr> <tr class="row"> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__1 "> <p class="p"><span class="ph uicontrol">脚本类型</span></p> </td> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__2 "> <p class="p">根据主机类型选择脚本类型:</p> <ul class="ul" id="editscript__d66e142"> <li class="li">若主机为<strong class="ph b">Linux</strong>类型,则选择脚本类型为<span class="ph uicontrol">Shell</span>。</li> <li class="li">若主机为<strong class="ph b">Windows</strong>类型,则选择脚本类型为<span class="ph uicontrol">PowerShell</span>。</li> </ul> </td> </tr> <tr class="row"> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__1 "> <p class="p"><span class="ph uicontrol">脚本内容</span></p> </td> <td class="entry" headers="editscript__table_u11_hcp_tkb__entry__2 "> <p class="p">在主机执行的脚本的具体内容。</p> <div class="note note note_note"><span class="note__title">说明:</span> 所填写内容不能超过30000字符。</div> </td> </tr> </tbody></table> </div> </li><li class="li step stepexpand"> <span class="ph cmd">完成后,单击<span class="ph uicontrol">保存</span>。</span> </li></ol></section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

工单支持

解决云产品相关技术问题