diff options
Diffstat (limited to 'ci/odl/juju-deployer/scripts/cloud-setup.sh')
-rwxr-xr-x | ci/odl/juju-deployer/scripts/cloud-setup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/odl/juju-deployer/scripts/cloud-setup.sh b/ci/odl/juju-deployer/scripts/cloud-setup.sh index b18d798f..b151ce36 100755 --- a/ci/odl/juju-deployer/scripts/cloud-setup.sh +++ b/ci/odl/juju-deployer/scripts/cloud-setup.sh @@ -14,11 +14,11 @@ neutron security-group-rule-create --direction ingress --ethertype IPv4 --protoc keystone tenant-create --name demo --description "Demo Tenant" keystone user-create --name demo --tenant demo --pass demo --email demo@demo.demo -nova keypair-add --pub-key ~/.ssh/id_rsa.pub ubuntu-keypair +nova keypair-add --pub-key id_rsa.pub ubuntu-keypair # configure external network neutron net-create --router:external --provider:physical_network external --provider:network_type flat ext-net -neutron subnet-create --name ext-subnet --no-gateway --allocation-pool start=10.2.65.201,end=10.2.65.255 --disable-dhcp ext-net 10.2.65.0/24 +neutron subnet-create --name ext-subnet --no-gateway --allocation-pool start=10.2.65.201,end=10.2.65.254 --disable-dhcp ext-net 10.2.65.0/24 # create vm network neutron net-create demo-net @@ -33,7 +33,7 @@ neutron router-gateway-set demo-router ext-net # create pool of floating ips i=0 while [ $i -ne 10 ]; do - neutron floatingip-create public-net + neutron floatingip-create ext-net i=$((i + 1)) done |