diff options
author | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2022-12-21 20:24:30 +0100 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2022-12-21 20:24:30 +0100 |
commit | 7bf0476dc5e8a09e524b3116627d57aa5edbfd2b (patch) | |
tree | a7a1185c97a197b7b680dfc6908fa3013f0b74f7 /debvm-create | |
parent | 6f422d6b4ea1fa9424f086297ad4166a3ddd4822 (diff) | |
download | debvm-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-x | debvm-create | 10 |
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 -- \ |