summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-12-23 22:51:50 +0100
committerHelmut Grohne <helmut@subdivi.de>2022-12-23 22:51:50 +0100
commit9aa4cb7de93569c35994faea051b9e390da25008 (patch)
tree5f76454a074955315596fbf40af292472a816bdb
parent6cd0bef858db460ecb4a6b153225d15bdc62a5fd (diff)
downloaddebvm-9aa4cb7de93569c35994faea051b9e390da25008.tar.gz
standardize on image name rootfs.ext4
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
-rwxr-xr-xdebvm-create4
-rwxr-xr-xdebvm-run4
2 files changed, 4 insertions, 4 deletions
diff --git a/debvm-create b/debvm-create
index 6026a7c..5fc8950 100755
--- a/debvm-create
+++ b/debvm-create
@@ -86,7 +86,7 @@ POD2MAN
set -u
ARCHITECTURE=$(dpkg --print-architecture)
-IMAGE=rootfs.ext2
+IMAGE=rootfs.ext4
INCLUDE_PACKAGES=init
MIRROR="http://deb.debian.org/debian"
SIZE=$((1024*1024*1024))
@@ -304,4 +304,4 @@ truncate -s "$SIZE" "$IMAGE"
/sbin/resize2fs "$IMAGE"
/sbin/tune2fs -L debvm -i 0 -O extents,uninit_bg,dir_index,has_journal "$IMAGE"
# Must fsck after tune2fs: https://ext4.wiki.kernel.org/index.php/UpgradeToExt4
-/sbin/fsck.ext4 -fDp rootfs.ext2
+/sbin/fsck.ext4 -fDp "$IMAGE"
diff --git a/debvm-run b/debvm-run
index 1081597..729ba6d 100755
--- a/debvm-run
+++ b/debvm-run
@@ -32,7 +32,7 @@ This configuration is skipped in the presence of this option.
=item B<-i> I<image>
This option specifies the location of the virtual machine image file.
-By default B<rootfs.ext2> in the working directory is used.
+By default B<rootfs.ext4> in the working directory is used.
=item B<-s> I<sshport>
@@ -60,7 +60,7 @@ POD2MAN
set -u
-IMAGE=rootfs.ext2
+IMAGE=rootfs.ext4
SSHPORT=
GRAPHICAL=