メインコンテンツまでスキップ

SnapCreator 4.1 以降では、 python_home ではなく、 /bin/sh に .py スクリプトを実行します

Views:
45
Visibility:
Public
Votes:
0
Category:
snap-creator-framework
Specialty:
snapx
Last Updated:

のしんだ

に適用されます

  • Snap Creator Framework ( SCF ) 4.1 、 4.1.2
  • プレスクリプトとポストスクリプトで使用される Python スクリプト
  • python_home に Python 実行可能ファイルを設定します

問題

SCF 4.1 では、 python_home を使用する代わりに、 /bin/sh を指定して .py が実行されます。

shebang ( #! )がない場合、 .py スクリプトは実行されません。 Python 用の行。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.