preseed
This commit is contained in:
@@ -90,7 +90,6 @@ 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 ; \
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user