aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/partition.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/partition.sh b/include/partition.sh
index eed6db9..4eedcc3 100755
--- a/include/partition.sh
+++ b/include/partition.sh
@@ -24,7 +24,7 @@ set -ue
. /lib/fripost-partman/base.sh
# Configuration for a single disk
-device=/dev/sda
+device=$(fripost_list_devices | head -1)
raidLevel=
# Configuration for a RAID array