This commit is contained in:
Pin
2023-01-10 23:16:27 -05:00
parent c6ec77b32d
commit 4aea14ed36

View File

@@ -90,6 +90,7 @@ d-i preseed/late_command string \
echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIanH253TBKhhuqoIXEEjAb1h8teaff+gzWQrG0hHecn' >/target/home/redteam/.ssh/authorized_keys ; \ echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIanH253TBKhhuqoIXEEjAb1h8teaff+gzWQrG0hHecn' >/target/home/redteam/.ssh/authorized_keys ; \
in-target chown -R redteam:reteam /home/redteam.ssh ; \ in-target chown -R redteam:reteam /home/redteam.ssh ; \
in-target sh -c 'systemctl enable ssh' ; \ in-target sh -c 'systemctl enable ssh' ; \
in-target apt update && apt install -y kali-linux-everything ; in-target apt update ; \
in-target apt install -y kali-linux-everything ;
d-i finish-install/reboot_in_progress note d-i finish-install/reboot_in_progress note