Skip to content

Commit

Permalink
use ww httpd.conf out of box (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed Mar 2, 2017
1 parent 07e2745 commit c529bdc
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 36 deletions.
7 changes: 0 additions & 7 deletions docs/recipes/install/centos7/aarch64/warewulf/slurm/steps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,6 @@ \subsection{Complete basic Warewulf setup for {\em master} node} \label{sec:setu
# Enable tftp service for compute node image distribution
[sms](*\#*) perl -pi -e "s/^\s+disable\s+= yes/ disable = no/" /etc/xinetd.d/tftp

# Enable http access for Warewulf cgi-bin directory to support newer apache syntax
[sms](*\#*) export MODFILE=/etc/httpd/conf.d/warewulf-httpd.conf
[sms](*\#*) perl -pi -e "s/cgi-bin>\$/cgi-bin>\n Require all granted/" $MODFILE

[sms](*\#*) perl -pi -e "s/Allow from all/Require all granted/" $MODFILE
[sms](*\#*) perl -ni -e "print unless /^\s+Order allow,deny/" $MODFILE

# Enable internal interface for provisioning
[sms](*\#*) ifconfig ${sms_eth_internal} ${sms_ip} netmask ${internal_netmask} up

Expand Down
7 changes: 0 additions & 7 deletions docs/recipes/install/centos7/x86_64/warewulf/pbspro/steps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@ \subsection{Complete basic Warewulf setup for {\em master} node} \label{sec:setu
# Enable tftp service for compute node image distribution
[sms](*\#*) perl -pi -e "s/^\s+disable\s+= yes/ disable = no/" /etc/xinetd.d/tftp

# Enable http access for Warewulf cgi-bin directory to support newer apache syntax
[sms](*\#*) export MODFILE=/etc/httpd/conf.d/warewulf-httpd.conf
[sms](*\#*) perl -pi -e "s/cgi-bin>\$/cgi-bin>\n Require all granted/" $MODFILE

[sms](*\#*) perl -pi -e "s/Allow from all/Require all granted/" $MODFILE
[sms](*\#*) perl -ni -e "print unless /^\s+Order allow,deny/" $MODFILE

# Enable internal interface for provisioning
[sms](*\#*) ifconfig ${sms_eth_internal} ${sms_ip} netmask ${internal_netmask} up

Expand Down
7 changes: 0 additions & 7 deletions docs/recipes/install/centos7/x86_64/warewulf/slurm/steps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,6 @@ \subsection{Complete basic Warewulf setup for {\em master} node} \label{sec:setu
# Enable tftp service for compute node image distribution
[sms](*\#*) perl -pi -e "s/^\s+disable\s+= yes/ disable = no/" /etc/xinetd.d/tftp

# Enable http access for Warewulf cgi-bin directory to support newer apache syntax
[sms](*\#*) export MODFILE=/etc/httpd/conf.d/warewulf-httpd.conf
[sms](*\#*) perl -pi -e "s/cgi-bin>\$/cgi-bin>\n Require all granted/" $MODFILE

[sms](*\#*) perl -pi -e "s/Allow from all/Require all granted/" $MODFILE
[sms](*\#*) perl -ni -e "print unless /^\s+Order allow,deny/" $MODFILE

# Enable internal interface for provisioning
[sms](*\#*) ifconfig ${sms_eth_internal} ${sms_ip} netmask ${internal_netmask} up

Expand Down
5 changes: 0 additions & 5 deletions docs/recipes/install/sles12/aarch64/warewulf/slurm/steps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ \subsection{Complete basic Warewulf setup for {\em master} node} \label{sec:setu
[sms](*\#*) perl -pi -e "s#modules/mod_perl.so\$#/usr/lib64/apache2/mod_perl.so#" $MODFILE
[sms](*\#*) perl -pi -e "s#modules/mod_version.so\$#/usr/lib64/apache2/mod_version.so#" $MODFILE

# Enable http access for Warewulf cgi-bin directory to support newer apache syntax
[sms](*\#*) perl -pi -e "s/cgi-bin>\$/cgi-bin>\n Require all granted/" $MODFILE
[sms](*\#*) perl -pi -e "s/Allow from all/Require all granted/" $MODFILE
[sms](*\#*) perl -ni -e "print unless /^\s+Order allow,deny/" $MODFILE

# Enable internal interface for provisioning
[sms](*\#*) ifconfig ${sms_eth_internal} ${sms_ip} netmask ${internal_netmask} up

Expand Down
5 changes: 0 additions & 5 deletions docs/recipes/install/sles12/x86_64/warewulf/pbspro/steps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,6 @@ \subsection{Complete basic Warewulf setup for {\em master} node} \label{sec:setu
[sms](*\#*) perl -pi -e "s#modules/mod_perl.so\$#/usr/lib64/apache2/mod_perl.so#" $MODFILE
[sms](*\#*) perl -pi -e "s#modules/mod_version.so\$#/usr/lib64/apache2/mod_version.so#" $MODFILE

# Enable http access for Warewulf cgi-bin directory to support newer apache syntax
[sms](*\#*) perl -pi -e "s/cgi-bin>\$/cgi-bin>\n Require all granted/" $MODFILE
[sms](*\#*) perl -pi -e "s/Allow from all/Require all granted/" $MODFILE
[sms](*\#*) perl -ni -e "print unless /^\s+Order allow,deny/" $MODFILE

# Enable internal interface for provisioning
[sms](*\#*) ifconfig ${sms_eth_internal} ${sms_ip} netmask ${internal_netmask} up

Expand Down
5 changes: 0 additions & 5 deletions docs/recipes/install/sles12/x86_64/warewulf/slurm/steps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ \subsection{Complete basic Warewulf setup for {\em master} node} \label{sec:setu
[sms](*\#*) perl -pi -e "s#modules/mod_perl.so\$#/usr/lib64/apache2/mod_perl.so#" $MODFILE
[sms](*\#*) perl -pi -e "s#modules/mod_version.so\$#/usr/lib64/apache2/mod_version.so#" $MODFILE

# Enable http access for Warewulf cgi-bin directory to support newer apache syntax
[sms](*\#*) perl -pi -e "s/cgi-bin>\$/cgi-bin>\n Require all granted/" $MODFILE
[sms](*\#*) perl -pi -e "s/Allow from all/Require all granted/" $MODFILE
[sms](*\#*) perl -ni -e "print unless /^\s+Order allow,deny/" $MODFILE

# Enable internal interface for provisioning
[sms](*\#*) ifconfig ${sms_eth_internal} ${sms_ip} netmask ${internal_netmask} up

Expand Down

0 comments on commit c529bdc

Please sign in to comment.