Skip to content
Snippets Groups Projects
Commit dfb4775f authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

Add new file

parent dd217a8a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# Create the dmz and cluster networks as the external and
# internal networks of the ohpc cluster
# create the dmz network for the head node to attach
openstack network create dmznet
openstack subnet create --subnet-range 192.168.100.0/24 --dns-nameserver 8.8.8.8 --network dmznet dmzsubnet
# connect dmz to the internet
openstack router create borderrouter
openstack router set borderrouter --external-gateway bright-external-flat-externalnet
openstack router add subnet borderrouter dmzsubnet
# create the cluster network for the compute nodes
openstack network create clusternet
openstack subnet create --subnet-range 10.1.1.0/24 --no-dhcp --network clusternet clustersubnet
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment