adjust fstab and mount device param

This commit is contained in:
iceBear67
2026-06-15 17:40:12 +08:00
parent 37d68dfcab
commit 71f46fb430
6 changed files with 17 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ SHELL := /bin/sh
# --- configurable ----------------------------------------------------
IMAGE_NAME = alpine-vm
IMAGE_SIZE ?= 2G
IMAGE_SIZE ?= 1G
IMAGE_FORMAT = raw
ALPINE_BRANCH ?= latest-stable
KERNEL_FLAVOR ?= virt

View File

@@ -32,10 +32,16 @@ rc-update add net.eth0 default
rc-update add acpid default
rc-update add docker default
rc-update add cronie default
rc-update add mount boot
step 'Clean up APK cache'
step 'Clean up APK cache and documents'
rm -rf /var/cache/apk/* || true
rm -rf \
/usr/share/man \
/usr/share/doc \
/usr/share/info
step 'Setup git user'
git config --user.email bearnet+keeper@sab.ee
git config --user.name "B.B.K.K.B.K.K"

View File

@@ -1,5 +1,4 @@
# /etc/fstab: static file system information
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/root / ext4 rw,noatime 0 1
data /data virtiofs rw,noatime,_netdev 0 0
/dev/vdb /data ext4 rw,noatime 0 1