summaryrefslogtreecommitdiff
path: root/debvm-create
diff options
context:
space:
mode:
Diffstat (limited to 'debvm-create')
-rwxr-xr-xdebvm-create9
1 files changed, 6 insertions, 3 deletions
diff --git a/debvm-create b/debvm-create
index b2a213d..8870e09 100755
--- a/debvm-create
+++ b/debvm-create
@@ -95,6 +95,9 @@ case "$ARCHITECTURE" in
i386)
KERNEL_SUFFIX=-686-pae
;;
+ ppc64el)
+ KERNEL_SUFFIX=-powerpc64le
+ ;;
esac
INCLUDE_PACKAGES="$INCLUDE_PACKAGES,linux-image$KERNEL_SUFFIX"
@@ -113,11 +116,11 @@ set -- \
# unless we set up a fstab, / will be read-only
case "$ARCHITECTURE" in
- s390x)
- DISKDEV=vda
+ amd64|i386|ppc64el)
+ DISKDEV=sda
;;
*)
- DISKDEV=sda
+ DISKDEV=vda
;;
esac
set -- "--customize-hook=echo '/dev/$DISKDEV / ext4 defaults 0 1' >"'"$1/etc/fstab"' "$@"