Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Terraform Openstack
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krish Moodbidri
Terraform Openstack
Commits
b385b72e
Commit
b385b72e
authored
1 year ago
by
Krish Moodbidri
Browse files
Options
Downloads
Patches
Plain Diff
deleted unused code and added mount command for volume
parent
7c16d7d2
No related branches found
No related tags found
No related merge requests found
Pipeline
#10171
failed with stages
in 41 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.tf
+0
-13
0 additions, 13 deletions
main.tf
ohpc-instance/main.tf
+1
-0
1 addition, 0 deletions
ohpc-instance/main.tf
with
1 addition
and
13 deletions
main.tf
+
0
−
13
View file @
b385b72e
...
...
@@ -14,19 +14,6 @@ provider "openstack" {
}
}
variable
"user_data_script"
{
description
=
"User data script to be executed during instance initialization"
type
=
string
default
=
<<-
EOF
#!/bin/bash
sudo
mkdir
-
p
/
data
/
xdmod
/
queues
sudo
df
-
h
sudo
systemctl
restart
mariadb
sudo
sed
-
i
-
E
's/xdmod..nip.io/xdmod.rc.uab.edu/g'
/
etc
/
httpd
/
conf
.
d
/
xdmod
.
conf
sudo
sed
-
i
-
E
's/xdmod..nip.io/xdmod.rc.uab.edu/g'
/
etc
/
xdmod
/
simplesamlphp
/
config
/
config
.
php
sudo
systemctl
restart
httpd
EOF
}
# runs the internal-network module
module
"cluster-network"
{
...
...
This diff is collapsed.
Click to expand it.
ohpc-instance/main.tf
+
1
−
0
View file @
b385b72e
...
...
@@ -48,6 +48,7 @@ resource "openstack_compute_instance_v2" "ohpc" {
-
|
#!/bin/bash
sudo
mkdir
-
p
/
data
/
xdmod
/
queues
sudo
mount
$
{
module
.
create-ohpc-instance
.
device
[
0
]}
1
/
var
/
lib
/
mysql
sudo
df
-
h
sudo
systemctl
restart
mariadb
sudo
sed
-
i
-
E
's/xdmod..nip.io/xdmod.rc.uab.edu/g'
/
etc
/
httpd
/
conf
.
d
/
xdmod
.
conf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment