mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-25 01:35:24 -07:00
23 lines
584 B
Bash
23 lines
584 B
Bash
|
#!/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"
|