跳转到主内容
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.

NetApp KCS Award

SnapCreator 4.1 和更高版本在 /bin/sh 中运行 .py 脚本而不是 python_home

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

状态信息

适用于

  • Snap Creator Framework (SCF) 4.1 、 4.1.2
  • pre 和 postscript 中使用的 Python 脚本
  • python_home 设置为 Python 可执行文件

问题

SCF4.1 使用 /bin/sh 运行 .py 、而不是使用 python_home 。

如果没有 Shebang (#!) , .py 脚本将无法运行 Python 行。

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support