[Ultrapossum-cvs 850] demo/uml 1.3,1.4,uml-run 1.20,1.21,update-uml

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 13日 (水) 18:07:27 JST


===================================================================
RCS file: demo/uml/uml-run,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- demo/uml/uml-run	2004/07/23 07:48:34	1.3
+++ demo/uml/uml-run	2004/10/13 09:07:27	1.4
@@ -16,5 +16,6 @@
 tunctl -u $UML_USER -t $host_if
 ifconfig $host_if $host broadcast $bcast netmask 255.255.255.252 up
 iptables -t nat -A POSTROUTING -s $net -d ! $net -j MASQUERADE
+echo 1 > /proc/sys/net/ipv4/ip_forward
 "$@"
 
===================================================================
RCS file: demo/uml/update-uml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- demo/uml/update-uml	2004/10/12 06:02:40	1.20
+++ demo/uml/update-uml	2004/10/13 09:07:27	1.21
@@ -81,7 +81,6 @@
     echo "$MASTER `cat /etc/ssh/ssh_host_rsa_key.pub`" > $UMLDIR/ssh_known_hosts
   fi
   chown -R $UML_USER $UMLDIR/
-  echo 1 > /proc/sys/net/ipv4/ip_forward
   /bin/rm -rf $UMLDIR/etc && /bin/cp -a $SYSCONFDIR $UMLDIR/etc
   /bin/chown -R $UML_USER $UMLDIR/etc
   adjustconfig



Ultrapossum-cvs メーリングリストの案内
Back to archive index