diff options
| author | Ilya Alekseyev <ialekseev@griddynamics.com> | 2010-12-24 21:07:53 +0300 |
|---|---|---|
| committer | Ilya Alekseyev <ialekseev@griddynamics.com> | 2010-12-24 21:07:53 +0300 |
| commit | f4da70ef42e5b8908f9979f2f80c60798a517c60 (patch) | |
| tree | 9ed78bfbc212e57ecf7499077292b0c1fab7a682 /nova | |
| parent | 43f59fc025b4decd02a78acbfd0cf654bc9cf0db (diff) | |
| parent | 956f842c587bf1610f55ca3893f3b9eef924293c (diff) | |
| download | nova-f4da70ef42e5b8908f9979f2f80c60798a517c60.tar.gz nova-f4da70ef42e5b8908f9979f2f80c60798a517c60.tar.xz nova-f4da70ef42e5b8908f9979f2f80c60798a517c60.zip | |
Merge
Diffstat (limited to 'nova')
| -rwxr-xr-x | nova/cloudpipe/bootscript.template | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/cloudpipe/bootscript.template b/nova/cloudpipe/bootscript.template index 11578c134..94dea3f87 100755 --- a/nova/cloudpipe/bootscript.template +++ b/nova/cloudpipe/bootscript.template @@ -19,6 +19,7 @@ # This gets zipped and run on the cloudpipe-managed OpenVPN server +export LC_ALL=C export VPN_IP=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $$1}'` export BROADCAST=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f3 | awk '{print $$1}'` export DHCP_MASK=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f4 | awk '{print $$1}'` |
