]> 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 7108bf09aee9a82e7e6e21ff1bdc4b4c2f40925f..7ff3b79eb59b4dc7e2d3e62b8da30959b88a34fa 100644 (file)
@@ -27,9 +27,9 @@ vmdebootstrap \- install basic Debian system into virtual disk image
 [--enable-dhcp | --no-enable-dhcp] [--root-password=PASSWORD]
 [--customize=SCRIPT] [--hostname=HOSTNAME] [--user=USER/PASSWORD]
 [--serial-console | --no-serial-console] [--sudo | --no-sudo] [--owner=OWNER]
-[--bootsize=BOOTSIZE] [--boottype=FSTYPE] [--foreign=PATH] [--variant=VARIANT]
-[--no-extlinux] [--squash] [--configure-apt] [--grub] [--apt-mirror]
-[--pkglist]
+[--bootsize=BOOTSIZE] [--boottype=FSTYPE] [--roottype=FSTYPE] [--foreign=PATH]
+[--variant=VARIANT] [--no-extlinux] [--squash] [--configure-apt]
+[--grub] [--apt-mirror] [--pkglist]
 .SH DESCRIPTION
 .B vmdebootstrap
 installs a basic Debian system into a virtual disk image,
@@ -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
@@ -189,6 +189,14 @@ If specified, create a /boot partition of the given size within the image.
 Debootstrapping will fail if this is too small for the selected kernel package.
 .IP \-\-boottype=FSTYPE
 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