Skip to content

Commit

Permalink
adding JGROUPS_IP to rc.local, -support upgrade (ACE removed for fron…
Browse files Browse the repository at this point in the history
…t-end appliance)
  • Loading branch information
goldmann committed Aug 7, 2009
1 parent 65ae7e1 commit e050cb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/jboss-appliance-support
Submodule jboss-appliance-support updated from 3400b1 to ba63ef
6 changes: 3 additions & 3 deletions specs/extras/jboss-jgroups.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ cp -R . $RPM_BUILD_ROOT/opt/jboss-jgroups
install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/jgroups-gossip

touch $RPM_BUILD_ROOT/etc/jboss-jgroups.conf
echo 'JAVA_HOME=/usr/lib/jvm/jre' > $RPM_BUILD_ROOT/etc/jboss-jgroups.conf


#install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
%post
/bin/echo "echo JGROUPS_IP=\`ifconfig eth0 | awk '/inet addr/ {split (\$2,A,\":\"); print A[2]}'\` >> /etc/jboss-jgroups.conf" >> /etc/rc.local

%clean
rm -Rf $RPM_BUILD_ROOT
Expand Down

0 comments on commit e050cb6

Please sign in to comment.