wfau / esperia

Configuration and deployment scripts for the LSST/Gaia test system.
GNU General Public License v3.0
0 stars 1 forks source link

Add Dockerfile to configure SSH config #10

Closed Zarquan closed 5 years ago

Zarquan commented 5 years ago

Add a startup script to create our ssh config.

    rm -f "${HOME}/.ssh/config"

    if [ ! -e "${HOME}/.ssh" ]
    then
        mkdir "${HOME}/.ssh"
    fi

    if [ ! -e "${HOME}/.ssh/config" ]
    then
        cp /etc/ansible/ssh.cfg ${HOME}/.ssh/config
    fi

    sed -i "
        s/ESPERIA_USERNAME/${ESPERIA_USERNAME:?}/
        " "${HOME}/.ssh/config"
Zarquan commented 5 years ago

Superceded by #11 ?

Zarquan commented 5 years ago

Superceded by #11