Merge "fix typo in intro script"
This commit is contained in:
commit
e937f2a354
@ -51,10 +51,10 @@ unused_floating_ip = pool.create_floating_ip()
|
||||
conn.ex_attach_floating_ip_to_node(instance, unused_floating_ip)
|
||||
|
||||
# step-11
|
||||
worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker note')
|
||||
worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker node')
|
||||
conn.ex_create_security_group_rule(worker_group, 'TCP', 22, 22)
|
||||
|
||||
controller_group = conn.ex_create_security_group('control', 'for services that run on a control note')
|
||||
controller_group = conn.ex_create_security_group('control', 'for services that run on a control node')
|
||||
conn.ex_create_security_group_rule(controller_group, 'TCP', 22, 22)
|
||||
conn.ex_create_security_group_rule(controller_group, 'TCP', 80, 80)
|
||||
conn.ex_create_security_group_rule(controller_group, 'TCP', 5672, 5672, source_security_group=worker_group)
|
||||
|
@ -15,10 +15,10 @@ api_group = conn.ex_create_security_group('api', 'for API services only')
|
||||
conn.ex_create_security_group_rule(api_group, 'TCP', 80, 80)
|
||||
conn.ex_create_security_group_rule(api_group, 'TCP', 22, 22)
|
||||
|
||||
worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker note')
|
||||
worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker node')
|
||||
conn.ex_create_security_group_rule(worker_group, 'TCP', 22, 22)
|
||||
|
||||
controller_group = conn.ex_create_security_group('control', 'for services that run on a control note')
|
||||
controller_group = conn.ex_create_security_group('control', 'for services that run on a control node')
|
||||
conn.ex_create_security_group_rule(controller_group, 'TCP', 22, 22)
|
||||
conn.ex_create_security_group_rule(controller_group, 'TCP', 80, 80)
|
||||
conn.ex_create_security_group_rule(controller_group, 'TCP', 5672, 5672, source_security_group=worker_group)
|
||||
|
Loading…
Reference in New Issue
Block a user