Not sure why there was no info messsages at all in this script, I'm adding it now to reduce the diff with kali-finish-install, hopefully I'm not breaking anything by using stdout for informative messages... |
2 weeks ago | |
---|---|---|
auto | 2 months ago | |
kali-config | 2 weeks ago | |
.getopt.sh | 2 months ago | |
.gitignore | 2 weeks ago | |
README.md | 2 months ago | |
build.sh | 2 months ago |
README.md
Kali-Live Build-Scripts
live-build
configuration for Kali ISO images.
These are the same build-scripts that the Kali team uses to generate the official Kali Linux base images, found here: kali.org/get-kali/.
Build your Kali Linux image today!
These images can be used to live boot into Kali, from such a USB/CD/DVD/sdCard, as well offers a basic installation. For more customization during setup, see kali-installer.
- kali-installer uses Simple-CDD (which is a wrapper for debian-cd)
- kali-live uses live-build
Have a look at Live Build a Custom Kali ISO for explanations on how to use this repository.
There are also other code examples of live-build, as well as code examples for pre-seed to automate/unattended installation.
Help
$ ./build.sh --help
Usage: ./build.sh [<option>...]
--distribution <arg>
--proposed-updates
--arch <arg>
--verbose
--debug
--variant <arg>
--version <arg>
--subdir <arg>
--get-image-path
--no-clean
--clean
--help
More information: https://www.kali.org/docs/development/live-build-a-custom-kali-iso/
$
Usage Examples
Both images types, using the latest packages:
$ ./build.sh
[...]
Manually define which Kali mirror to pull from, as well as be more detailed in output:
$ echo "http://kali.download/kali" > .mirror
$
$ ./build.sh --verbose
[...]
Build a different Live image version (GNOME and KDE Plasma):
$ ./build.sh \
--debug \
--variant gnome
[...]
$
$ ./build.sh \
--debug \
--variant kde
[...]
$