From d33d61b1b4885dff98e31840bcb385f4da33ffbb Mon Sep 17 00:00:00 2001 From: Edison Su Date: Fri, 7 Jan 2011 08:40:22 -0500 Subject: [PATCH] fix default gw one more time... --- patches/systemvm/debian/config/etc/init.d/cloud-early-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index e3f245e6c69..1c4fbd6cde1 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -181,7 +181,7 @@ setup_common() { fi ip route delete default - if [ -n $3 ] + if [ -n "$3" ] then ip route add default via $GW dev $3 else