Saltstack Official Linux Formula
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
|
- description "Setup {{ device_name }} device"
-
- start on filesystem
-
- pre-start exec losetup {{ device_name }} {{ file }}
- post-stop exec losetup -d {{ device_name }}
-
- script
- while losetup {{ device_name }} ; do sleep 60 ; done
- end script
|