Kali linux revealed 1st edition

Page 301

dhcp-boot=pxelinux.0 # TFTP options enable-tftp # Directory hosting files to serve tftp-root=/tftpboot/

• Unpack 32-bit (i386), 64-bit (amd64), standard or graphical (gtk) installation boot files from the Kali archive into /tftpboot/. The archives can be found here: ➨

http://http.kali.org/dists/kali-rolling/main/installer-amd64/current/ images/netboot/gtk/netboot.tar.gz

http://http.kali.org/dists/kali-rolling/main/installer-amd64/current/ images/netboot/netboot.tar.gz

http://http.kali.org/dists/kali-rolling/main/installer-i386/current/ images/netboot/gtk/netboot.tar.gz

http://http.kali.org/dists/kali-rolling/main/installer-i386/current/ images/netboot/netboot.tar.gz # mkdir /tftpboot # cd /tftpboot # wget http://http.kali.org/dists/kali-rolling/main/installer-amd64/current/ ➥ images/netboot/netboot.tar.gz # tar xf netboot.tar.gz

• Optionally modify txt.cfg to preseed parameters or custom timeouts. See section 4.3, “Unattended Installations” [page 91]. Next, you can leverage configuration management tools to manage machines or configure remote computers to any desired state. • SaltStack is a centralized configuration management service: a Salt master manages many Salt minions. Install the salt-master package on a reachable server and salt-minion on managed hosts. • Edit the /etc/salt/minion YAML-formatted config file and set the NBTUFS key to the DNS name (or IP address) of the Salt master. • Set minion’s unique identifier in /etc/salt/minion_id: minion# echo kali-scratch >/etc/salt/minion_id minion# systemctl enable salt-minion minion# systemctl start salt-minion

• Key exchange will follow. On the master, accept minion’s identification key. Subsequent connections will be automatic: master# systemctl enable salt-master master# systemctl start salt-master master# salt-key --list all

,BMJ -JOVY 3FWFBMFE


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.