################################################################################
# Default settings
#

format="$(cat "$__object/parameter/format")"
state="$(cat "$__object/parameter/state")"

diskimage="/$__object_id"

# Absent is ensured by __file, present by gencode-remote
if [ "$state" = "absent" ]; then
    __file "$diskimage" --state absent
fi
