✏️ 正在编辑: enable-ec2-spot-hibernation
路径:
/usr/bin/enable-ec2-spot-hibernation
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/bin/bash # Add this script in your user-data to turn on the hibernation support # for the EC2 Spot Instances. # Make sure the agent is added to the auto-start update-rc.d hibagent defaults # And start it exec service hibagent start
💾 保存文件
← 返回文件管理器