kali preseed updates
This commit is contained in:
11
preseed.cfg
11
preseed.cfg
@@ -59,16 +59,12 @@ d-i partman/confirm_nooverwrite boolean true
|
||||
### Mirror Settings
|
||||
|
||||
d-i mirror/country string enter information manually
|
||||
d-i mirror/http/hostname string http.kali.org
|
||||
d-i mirror/http/directory string /
|
||||
d-i mirror/http/hostname string http.kali.org
|
||||
d-i mirror/http/directory string /kali
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
### APT Setup
|
||||
|
||||
d-i apt-setup/local0/repository string http://archive.kali.org/kali-security kali/updates main
|
||||
d-i apt-setup/local0/comment string Security updates
|
||||
d-i apt-setup/local0/source boolean false
|
||||
d-i apt-setup/use_mirror boolean true
|
||||
tasksel tasksel/first multiselect standard
|
||||
d-i pkgsel/upgrade select full-upgrade
|
||||
|
||||
@@ -77,7 +73,6 @@ d-i pkgsel/include string openssh-server
|
||||
### Bootloader
|
||||
|
||||
d-i grub-installer/only_debian boolean true
|
||||
d-i grub-installer/bootdev string default
|
||||
|
||||
### Finishing Up
|
||||
|
||||
@@ -88,7 +83,7 @@ d-i preseed/late_command string \
|
||||
in-target sh -c 'sed -i "s/^#PermitRootLogin.*\$/PermitRootLogin yes/g" /etc/ssh/sshd_config' ; \
|
||||
in-target mkdir -p /home/redteam/.ssh ; \
|
||||
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:redteam /home/redteam/.ssh ; \
|
||||
in-target sh -c 'systemctl enable ssh' ;
|
||||
d-i finish-install/reboot_in_progress note
|
||||
|
||||
|
||||
Reference in New Issue
Block a user