From 77dbb07959088a84f8c552bf06a56c904f1553ff Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Wed, 14 Sep 2011 00:49:39 -0700 Subject: [PATCH] default nameserver to gateway --- build_lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_lxc.sh b/build_lxc.sh index c0e33d6..d1f8aff 100755 --- a/build_lxc.sh +++ b/build_lxc.sh @@ -6,7 +6,7 @@ CONTAINER_IP=${CONTAINER_IP:-192.168.1.50} CONTAINER_CIDR=${CONTAINER_CIDR:-$CONTAINER_IP/24} CONTAINER_NETMASK=${CONTAINER_NETMASK:-255.255.255.0} CONTAINER_GATEWAY=${CONTAINER_GATEWAY:-192.168.1.1} -NAMESERVER=${NAMESERVER:-192.168.1.1} +NAMESERVER=${NAMESERVER:-$CONTAINER_GATEWAY} COPYENV=${COPYENV:-1} # Param string to pass to stack.sh. Like "EC2_DMZ_HOST=192.168.1.1 MYSQL_USER=nova"