ENV \
ETC_REMOTE_INST="/etc/remoteinstaller" \
+SCRIPTS_DIR="/opt/scripts" \
PW="root" \
API_PORT="15101" \
API_LISTEN_ADDR="0.0.0.0" \
&& yum install -y iproute wget openssh-server lighttpd nfs-utils \
python-setuptools python2-eventlet python-routes PyYAML \
python-netaddr pexpect net-tools tcpdump \
-ipmitool \
+ipmitool openssh-clients sshpass nmap-ncat \
# mod_ssl \
&& systemctl enable sshd \
&& systemctl enable lighttpd \
&& rm -rf * \
&& popd
-RUN mkdir -p "$ETC_REMOTE_INST"
+RUN mkdir -p "$SCRIPTS_DIR" \
+&& mkdir -p "$ETC_REMOTE_INST"
+
+COPY src/scripts/get_journals.sh src/scripts/print_hosts.py "$SCRIPTS_DIR"/
RUN echo '#!/bin/bash' >>$STARTUP \
&& echo 'printenv >/etc/remoteinstaller/environment' >>$STARTUP \