bootstrap.sh 584 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#!/bin/bash

SOURCEDIR=$(dirname $0)

vmdebootstrap \
    --arch armhf \
    --distribution stable \
    --mirror http://deb.parrotsec.org/parrot \
    --image `date +parrot-rpi-%Y%m%d.img` \
10
    --size 8120M \
11 12 13 14 15 16 17 18 19 20 21 22
    --bootsize 64M \
    --boottype vfat \
    --root-password toor \
    --verbose \
    --no-kernel \
    --no-extlinux \
    --hostname parrot \
    --foreign /usr/bin/qemu-arm-static \
    --debootstrapopts="keyring=$SOURCEDIR/parrotsec.gpg verbose" \
    --package="gnupg2 dirmngr ca-certificates" \
    --customize "$SOURCEDIR/customize.sh" \
    --log-level="debug"