So that the generated /etc/network/interfaces contains "eth0" and
not any name assigned by systemd/udev since this renaming is already
disabled in the installed system.
Fixes https://bugs.kali.org/view.php?id=4090
Up to now, --proposed-updates always enabled kali-proposed-updates
when in fact it should have enabled the proposed-updates repository
of the target distribution.
* Add new --variant option to build alternative images of Kali.
* Add new --version option to decide of the name of the generated file.
* Add new --subdir option to indicate where the image must be moved.
This reverts commit 9eeb33247b.
live-build puts the preseed file in the initrd so it actually replaces
the preseed file put in place by debian-installer. That preseed
actually hardcodes the release for the need of the mini.iso but
the live image does not need such an hardcode as d-i can figure
it out by itself by analyzing the repositories on the ISO.
We want to override the apt configuration from the preseed in the
initrd because it harcodes the kali repository and we want
kali-rolling ISO to use the kali-rolling repository too!
We do it in a way that still allows the user to put his own
preseed file.
The usage of the pipe did hide errors from us when we were using
--verbose. We use a bashism to detect failures in pipes so update
the shebang accordingly.
See http://bugs.debian.org/701788 for details. But this bug means
that subsequent live-config scripts were not executed and due
to this auto-login was not enabled and sshd host keys were
not generated, etc.
Also use the shorter syntax for the username.
The infrastructure is now set up to work with live-build of november 19th 2012,
aka commit 3138b1a4faba120efd082e351d8cef04fcaf6392. The closest Debian release
is 3.0~a67-1.