summaryrefslogtreecommitdiff
path: root/debvm-create
diff options
context:
space:
mode:
authorJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2022-12-21 20:24:30 +0100
committerJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2022-12-21 20:24:30 +0100
commit7bf0476dc5e8a09e524b3116627d57aa5edbfd2b (patch)
treea7a1185c97a197b7b680dfc6908fa3013f0b74f7 /debvm-create
parent6f422d6b4ea1fa9424f086297ad4166a3ddd4822 (diff)
downloaddebvm-7bf0476dc5e8a09e524b3116627d57aa5edbfd2b.tar.gz
attach the disk via virtio interface for some speed gain and to unify the device node to be vda always
Diffstat (limited to 'debvm-create')
-rwxr-xr-xdebvm-create10
1 files changed, 1 insertions, 9 deletions
diff --git a/debvm-create b/debvm-create
index d827e5c..f34328e 100755
--- a/debvm-create
+++ b/debvm-create
@@ -122,15 +122,7 @@ set -- \
"$@"
# unless we set up a fstab, / will be read-only
-case "$ARCHITECTURE" in
- amd64|i386|ppc64el)
- DISKDEV=sda
- ;;
- *)
- DISKDEV=vda
- ;;
-esac
-set -- "--customize-hook=echo '/dev/$DISKDEV / ext4 defaults 0 1' >"'"$1/etc/fstab"' "$@"
+set -- "--customize-hook=echo '/dev/vda / ext4 defaults 0 1' >"'"$1/etc/fstab"' "$@"
# set up a hostname
set -- \