Move installation of the CIFS package to run/cifs_archive/configure-archive.sh

Don't need hping3 for other systems.

Keep the reconfiguration of the packages that is done specifically for making the root file system read-only in make-root-fs-readonly.sh.
This commit is contained in:
cimryan
2018-11-03 17:43:35 -07:00
parent 2eec8864c8
commit 2a463ba40b
3 changed files with 15 additions and 13 deletions

View File

@@ -22,6 +22,12 @@ function configure_archive () {
echo "Configured the archive."
}
function install_required_packages () {
apt-get -y --force-yes install hping3
}
install_required_packages
ARCHIVE_SERVER_IP_ADDRESS="$( $INSTALL_DIR/lookup-ip-address.sh "$archiveserver" )"
configure_archive "$ARCHIVE_SERVER_IP_ADDRESS"