#!/bin/sh
. /lib/partman/lib/auto-lvm.sh
devs="$*"
method="lvm"
auto_lvm_prepare "$devs" $method || exit $?
auto_lvm_perform || exit 1