From 2e54ebc3704c2e684074b66fea3911ed2ba24e27 Mon Sep 17 00:00:00 2001 From: sjing Date: Mon, 13 May 2013 08:48:46 +0000 Subject: [PATCH] back port sysclone support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-genesis-scripts/bin/dosysclone | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 xCAT-genesis-scripts/bin/dosysclone diff --git a/xCAT-genesis-scripts/bin/dosysclone b/xCAT-genesis-scripts/bin/dosysclone new file mode 100755 index 000000000..ad1a7313b --- /dev/null +++ b/xCAT-genesis-scripts/bin/dosysclone @@ -0,0 +1,42 @@ +#!/bin/sh + +#set -x + +################################################################################# +# Load functions and variables +# +. /etc/init.d/functions +# +################################################################################ + +################################################################################# +# +# main +# +{ + +ping_test + +get_scripts_directory + +if [ ! -z $HOSTNAME ]; then + logmsg + logmsg "This hosts name is: $HOSTNAME" +fi + +run_pre_install_scripts + +choose_autoinstall_script + +write_variables +beep + +run_autoinstall_script + +} 2>&1 | send_monitor_stdout + +# +################################################################################# + +exit 0 +