Skip to content

Commit 90b1327

Browse files
committed
Pass through Ceph network to OpenStack
1 parent efe8dbc commit 90b1327

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

openstack/datasources.tf

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ data "template_file" "user_data" {
1414
network_id = openstack_networking_network_v2.cluster.id
1515
network_name = openstack_networking_network_v2.cluster.name
1616
security_group = openstack_networking_secgroup_v2.cluster.name
17+
ceph_network = data.openstack_networking_network_v2.external_ceph.id
1718
ceph_secret = openstack_sharedfilesystem_share_access_v2.cluster_fs_access.access_key
1819
}
1920
)

openstack/files/bootstrap_custom.sh.tpl

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ security_group: ${security_group}
1111
cluster_id: ${cluster_id}
1212
ansible_repo: ${ansible_repo}
1313
ansible_branch: ${ansible_branch}
14+
ceph_network: ${ceph_network}
1415
EOF
1516

1617
mkdir -p /etc/ansible/facts.d/

0 commit comments

Comments
 (0)