|
@@ -131,8 +131,8 @@ mount $disk1 $mnt
|
|
# Remark: Debootstrap does not install recommands!!
|
|
# Remark: Debootstrap does not install recommands!!
|
|
# debootstrap --variant=minbase --arch=amd64 bookworm $mnt http://ftp2.de.debian.org/debian/
|
|
# debootstrap --variant=minbase --arch=amd64 bookworm $mnt http://ftp2.de.debian.org/debian/
|
|
# Alternatively bootstrap from a docker container, e.g. if no recent debootstrap is available
|
|
# Alternatively bootstrap from a docker container, e.g. if no recent debootstrap is available
|
|
-docker run -it --rm --cap-add=SYS_CHROOT --name debootstrap -v $mnt:$mnt -e mnt=$mnt debian /bin/sh -c "apt-get update && apt-get install --yes debootstrap && debootstrap --variant=minbase
|
|
|
|
---arch=amd64 bookworm $mnt http://ftp2.de.debian.org/debian/"
|
|
|
|
|
|
+docker run -it --rm --cap-add=SYS_CHROOT --name debootstrap -v $mnt:$mnt -e mnt=$mnt \debian /bin/sh -c \
|
|
|
|
+"apt-get update && apt-get install --yes debootstrap && debootstrap --variant=minbase --arch=amd64 bookworm $mnt http://ftp2.de.debian.org/debian/"
|
|
|
|
|
|
# Configure disk mounts
|
|
# Configure disk mounts
|
|
# Or get UUID from blkid...
|
|
# Or get UUID from blkid...
|