From cb7449f69a601f757bac1f3a36d54c9a1dff843b Mon Sep 17 00:00:00 2001
From: caowei <cao.wei@99cloud.net>
Date: Thu, 12 Jan 2017 15:11:06 +0800
Subject: [PATCH] Change 1-subnet to public1-subnet in tools/init-runonce

TrivialFix

Change-Id: I363d09a2565af5b7d4c67afec8fc0c5ae70c8540
---
 tools/init-runonce | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/init-runonce b/tools/init-runonce
index 612625bd4..05aa1ecf4 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -52,7 +52,7 @@ openstack network create --external --provider-physical-network physnet1 \
     --provider-network-type flat public1
 openstack subnet create --no-dhcp \
     --allocation-pool start=10.0.2.150,end=10.0.2.199 --network public1 \
-    --subnet-range 10.0.2.0/24 --gateway 10.0.2.1 1-subnet
+    --subnet-range 10.0.2.0/24 --gateway 10.0.2.1 public1-subnet
 
 openstack network create --provider-network-type vxlan demo-net
 openstack subnet create --subnet-range 10.0.0.0/24 --network demo-net \
-- 
GitLab