2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00
xcat-core/xCAT-csm/install/postscripts/ibm-csm-aggregator

16 lines
382 B
Bash

#!/bin/bash
# IBM(c) 2016 EPL license http://www.eclipse.org/legal/epl-v10.html
#(C)IBM Corp
# Sample Aggregator postscript.
# Configuration locations.
target_file_location="/etc/ibm/csm/csm_aggregator.cfg"
daemon="csmd-aggregator"
# Copy the configuration file.
scp ${MASTER_IP}:${target_file_location} ${target_file_location}
# Start the csm daemon.
systemctl start ${daemon}