Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37798633
en ru br
Репозитории ALT

Группа :: Система/Настройка/Прочее
Пакет: installer-feature-xCAT-stage3

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

#!/bin/sh -efu

##
# INFO
#
# Fetch and run xCAT post installation part.
#
# This hook attended to run only at compute nodes autoinstallation process under xCAT directions.
#
# $POSTSCRIPT:
# * script located at xCAT managment node.
# * generated from template by xCAT for concrete node.
# * located at metadata directory, specified by `curl=' option in boot config file.

. install2-init-functions

# Check for xCAT auto installation
cmdline_has_arg xcat || exit 0

POSTSCRIPT="xcat-post.sh"
cd /tmp

cp-metadata "$POSTSCRIPT" || :
[ -r "/tmp/$POSTSCRIPT" ] || fatal "Can't fetch $POSTSCRIPT from metadata directory"

cp "/tmp/$POSTSCRIPT" "$destdir/tmp"
chmod 755 "$destdir/tmp/$POSTSCRIPT"
exec_chroot "/tmp/$POSTSCRIPT" || :
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin