Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 line
237B

  1. description "Setup {{ device_name }} device"
  2. start on filesystem
  3. pre-start exec losetup {{ device_name }} {{ file }}
  4. post-stop exec losetup -d {{ device_name }}
  5. script
  6. while losetup {{ device_name }} ; do sleep 60 ; done
  7. end script