Skip to content

sledgehammer-place-start-up

Place the start-up.sh script for Sledgehammer.

This task places a few static assets that are needed for the Sledgehammer start-up process. It handles the following assets:

  • sledgehammer-start-up.sh

    This script is run as a systemd service once Sledgehammer has started. It is responsible for making sure the image was booted with the necessary kernel parameters and then downloading and executing the machine-independent startup script from dr-provision.

  • sledgehammer-motd

    This sets the default login banner.

  • sledgehammer-ssh-config

    This sets the default sshd configuration. We default to allowing root logins only via key based authentication and allowing sftp.

  • sledgehammer-service

    This is the systemd unit file that is responsible for starting sledgehammer-start-up.sh when Sledgehammer boots. It waits until the network has been configured and is online before starting.

Objects that Reference sledgehammer-place-start-up

Objects used by sledgehammer-place-start-up

Not used in current content packs