Skip to content
Snippets Groups Projects
Commit 6c12eb7c authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Mount second volume to /data/xdmod/queues

parent ff8c54e7
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ module "create-ohpc-instance" {
ohpc_user = var.ohpc_user
ssh_private_key = var.ssh_private_key
vol_id = data.openstack_blockstorage_volume_v3.disk.id
vol_id2 = data.openstack_blockstorage_volume_v3.disk2.id
}
# runs the ood-instance module - creates ood instance using variables defined above
......@@ -151,6 +152,7 @@ provisioner "remote-exec" {
provisioner "remote-exec" {
inline = [
"sudo mount ${module.create-ohpc-instance.device}1 /var/lib/mysql",
"sudo mount ${module.create-ohpc-instance.device}2 /data/xdmod/queues"
"sudo df -h",
"sudo systemctl restart mariadb",
]
......
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