/usr/share/vmdebootstrap/common/jessie-amd64.sh is in vmdebootstrap 1.9-1.
This file is owned by root:root, with mode 0o755.
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 | #!/bin/sh
set -e
# define before sourcing common
WHO=`whoami`
USER='user/live'
SUITE='jessie'
SIZE='5G'
ARCH='amd64'
SHARE_PATH='/usr/share/vmdebootstrap/common'
# needs a path for arch and task desktop
IMAGE_PATH='.'
. ${SHARE_PATH}/customise.lib
sudo vmdebootstrap \
${BASE_OPTS} --user ${USER} \
--size ${SIZE} \
--arch ${ARCH} \
--no-extlinux \
--grub --use-uefi \
--distribution ${SUITE} \
--customize "${SHARE_PATH}/${SUITE}-${ARCH}-hook.sh" \
--image ${IMAGE_PATH}/${SUITE}.img \
"$@"
# report results and check we have something valid.
ls -l ${IMAGE_PATH}/${SUITE}.img
md5sum ${IMAGE_PATH}/${SUITE}.img
|