Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
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
Bo-Chun Chen
hpc-factory
Commits
43c1b12f
Commit
43c1b12f
authored
2 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Remove keypair and private key from from openstack module
parent
c30e3153
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openstack/nodeimage.pkr.hcl
+0
-5
0 additions, 5 deletions
openstack/nodeimage.pkr.hcl
openstack/variables.pkr.hcl
+0
-10
0 additions, 10 deletions
openstack/variables.pkr.hcl
with
0 additions
and
15 deletions
openstack/nodeimage.pkr.hcl
+
0
−
5
View file @
43c1b12f
...
@@ -17,9 +17,6 @@ source "openstack" "image" {
...
@@ -17,9 +17,6 @@ source "openstack" "image" {
security_groups
=
var
.
security_groups
security_groups
=
var
.
security_groups
ssh_username
=
var
.
ssh_username
ssh_username
=
var
.
ssh_username
ssh_keypair_name
=
var
.
ssh_keypair_name
ssh_private_key_file
=
var
.
ssh_private_key_file
}
}
build
{
build
{
...
@@ -34,14 +31,12 @@ build {
...
@@ -34,14 +31,12 @@ build {
}
}
provisioner
"ansible"
{
provisioner
"ansible"
{
use_proxy
=
false
use_proxy
=
false
ssh_authorized_key_file
=
"/home/ubuntu/.ssh/id_rsa.pub"
ansible_env_vars
=
[
"ANSIBLE_HOST_KEY_CHECKING=False"
]
ansible_env_vars
=
[
"ANSIBLE_HOST_KEY_CHECKING=False"
]
playbook_file
=
"../CRI_XCBC/ood-packer.yaml"
playbook_file
=
"../CRI_XCBC/ood-packer.yaml"
roles_path
=
"./ansible/roles"
roles_path
=
"./ansible/roles"
inventory_file
=
"../CRI_XCBC/hosts"
inventory_file
=
"../CRI_XCBC/hosts"
extra_arguments
=
[
extra_arguments
=
[
"--extra-vars"
,
"root_ssh_key='${var.root_ssh_key}'"
,
"--extra-vars"
,
"root_ssh_key='${var.root_ssh_key}'"
,
"--private-key=${var.ssh_private_key_file}"
,
"--user=centos"
,
"--user=centos"
,
#"-vvvv"
#"-vvvv"
]
]
...
...
This diff is collapsed.
Click to expand it.
openstack/variables.pkr.hcl
+
0
−
10
View file @
43c1b12f
...
@@ -76,13 +76,3 @@ variable "ssh_username" {
...
@@ -76,13 +76,3 @@ variable "ssh_username" {
default
=
"centos"
default
=
"centos"
description
=
"The default username to use for SSH"
description
=
"The default username to use for SSH"
}
}
variable
"ssh_keypair_name"
{
type
=
string
description
=
"SSH keypair to use from OS project"
}
variable
"ssh_private_key_file"
{
type
=
string
description
=
"Private key file"
}
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