summaryrefslogtreecommitdiff
path: root/debvm-create
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-12-22 16:18:25 +0100
committerHelmut Grohne <helmut@subdivi.de>2022-12-22 16:18:25 +0100
commit4377925ed668b66e7bb35d8f6597e9f7b741ed21 (patch)
treea4380a73159c48cc2abf47f59829e4c0a649ac9b /debvm-create
parent4f286f7b1439d81d37826b96553ebda287d0c5f4 (diff)
downloaddebvm-4377925ed668b66e7bb35d8f6597e9f7b741ed21.tar.gz
debvm-create: drop wrong comment about fstab
We no longer need the fstab, because we now pass rw. The comment is simply wrong. We still create it to increase compatibility.
Diffstat (limited to 'debvm-create')
-rwxr-xr-xdebvm-create3
1 files changed, 1 insertions, 2 deletions
diff --git a/debvm-create b/debvm-create
index 3791953..615054a 100755
--- a/debvm-create
+++ b/debvm-create
@@ -119,10 +119,9 @@ set -- \
--format=ext2 \
"--architecture=$ARCHITECTURE" \
"--include=$INCLUDE_PACKAGES" \
+ '--customize-hook=echo "LABEL=debvm / ext4 defaults 0 1" >"$1/etc/fstab"' \
"$@"
-# unless we set up a fstab, / will be read-only
-set -- "--customize-hook=echo 'LABEL=debvm / ext4 defaults 0 1' >"'"$1/etc/fstab"' "$@"
# set up a hostname
set -- \