From f7e372d8dba34b0ea340dcca916e655857196968 Mon Sep 17 00:00:00 2001 From: Thales Maciel Date: Fri, 30 Jan 2026 10:55:24 -0300 Subject: [PATCH] Customize rootfs without home disk --- customize.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/customize.sh b/customize.sh index 8238b61..626853b 100755 --- a/customize.sh +++ b/customize.sh @@ -9,7 +9,7 @@ usage() { cat <<'EOF' Usage: ./customize.sh [--size ] -Creates a copy of rootfs.ext4, optionally resizes it, boots a VM with the +Creates a copy of rootfs.ext4, optionally resizes it, boots a VM using the copy as a writable rootfs, then applies base configuration and packages. EOF } @@ -231,10 +231,6 @@ ssh -i "$SSH_KEY" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \ printf 'nameserver %s\n' \"$DNS_SERVER\" > /etc/resolv.conf echo \"$VM_NAME\" > /etc/hostname printf '127.0.0.1 localhost\n127.0.1.1 %s\n' \"$VM_NAME\" > /etc/hosts -mkdir -p /home -if ! grep -q '^/dev/vdb ' /etc/fstab; then - echo '/dev/vdb /home ext4 defaults 0 2' >> /etc/fstab -fi apt-get update DEBIAN_FRONTEND=noninteractive apt-get -y upgrade DEBIAN_FRONTEND=noninteractive apt-get -y install git less tree ca-certificates curl