]> git.siccegge.de Git - forks/vmdebootstrap.git/blobdiff - vmdebootstrap.8.in
Ensure all tests for swap look for a number
[forks/vmdebootstrap.git] / vmdebootstrap.8.in
index ce0ce612f027b49d6a30cd75d2ac7556f0b30f0c..7ff3b79eb59b4dc7e2d3e62b8da30959b88a34fa 100644 (file)
@@ -149,7 +149,7 @@ create a disk image of size SIZE (1000000000)
 .IP \-\-tarball=FILE
 tar up the disk's contents in FILE
 .IP \-\-mirror=URL
-use MIRROR as package source (http://cdn.debian.net/debian/)
+use MIRROR as package source (http://http.debian.net/debian/)
 .IP \-\-arch=ARCH
 architecture to use (amd64)
 .IP \-\-distribution=NAME
@@ -191,6 +191,12 @@ Debootstrapping will fail if this is too small for the selected kernel package.
 Filesystem to use for the /boot partition. (default ext2)
 .IP \-\-roottype=FSTYPE
 Filesystem to use for the / (root) partition. (default ext4)
+.IP \-\-swap=SWAPSIZE
+If specified, create a swap partition of the given size within the image.
+Debootstrapping will fail if this results in a root partition which is
+too small for the selected packages. The minimum swap space is 256Mb as
+the default memory allocation of QEMU is 128Mb. A default 1Gb image is
+not likely to have enough space for a swap partition as well.
 .IP \-\-foreign=PATH
 Path to the binfmt_handler to enable foreign support in debootstrap.
 e.g. /usr/bin/qemu-arm-static - note foreign debootstraps may take a signficant