/usr/share/vmdebootstrap/examples/vmdebootstrap.txt is in vmdebootstrap 1.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | # Run vmdebootstrap script to create image
sudo \
vmdebootstrap \
--log ../log \
--log-level debug \
--size 3G \
--image $IMAGE.img \
--verbose \
--mirror $MIRROR \
--customize "$basedir/bin/freedombox-customize" \
--arch $ARCHITECTURE \
--distribution $SUITE \
$extra_opts \
$pkgopts
Needs u-boot:armhf & linux-image-armmp:armhf in the image.
sudo ./vmdebootstrap --image ../images/test.img \
--size 1g --owner $(whoami) --verbose \
--mirror http://mirror.bytemark.co.uk/debian \
--log ../images/test.log --log-level debug \
--arch armhf \
--foreign /usr/bin/qemu-arm-static \
--no-extlinux \
--no-kernel \
--package u-boot \
--package linux-image-armmp \
--distribution sid \
--bootsize 20m --boottype vfat
# copy u-boot specific files
# copy auto-serial-console to /bin/
sudo vmdebootstrap \
--enable-dhcp \
--serial-console --serial-console-command='/bin/auto-serial-console' \
--root-password='root' \
--verbose \
"$@"
sudo vmdebootstrap \
--enable-dhcp --no-kernel --package=linux-image-generic \
--serial-console --serial-console-command='/bin/auto-serial-console' \
--root-password='root' --hostname='ubuntu' --user=user/pass --sudo \
--verbose \
|