mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-24 17:25:25 -07:00
22 lines
584 B
Bash
Executable file
22 lines
584 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SOURCEDIR=$(dirname $0)
|
|
|
|
vmdebootstrap \
|
|
--arch armhf \
|
|
--distribution stable \
|
|
--mirror http://deb.parrotsec.org/parrot \
|
|
--image `date +parrot-rpi-%Y%m%d.img` \
|
|
--size 8120M \
|
|
--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"
|