Moved web.pm from xcat/plugins into xCAT-UI/xcat/plugins so it can be easily built and packaged with xCAT-UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b189215279
commit
1ba7a87296
@ -139,6 +139,10 @@ set -x
|
||||
|
||||
if [ "$1" = 1 ] || [ "$1" = 2 ] # Install or upgrade
|
||||
then
|
||||
# Copy xCAT plugins to /opt/xcat/lib/perl/xCAT_plugin
|
||||
cp %{prefix}/ui/xcat/plugins/web.pm /opt/xcat/lib/perl/xCAT_plugin/
|
||||
/etc/init.d/xcatd restart
|
||||
|
||||
# Copy php.ini file into /opt/xcat/ui and turn off output_buffering
|
||||
if [ -e "/etc/redhat-release" ]; then
|
||||
/bin/sed /etc/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
|
||||
|
1954
xCAT-UI/xcat/plugins/web.pm
Normal file
1954
xCAT-UI/xcat/plugins/web.pm
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user