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
ec3c0715
Commit
ec3c0715
authored
2 years ago
by
Eesaan Atluri
Browse files
Options
Downloads
Patches
Plain Diff
Add image related vars for metadata and img ACLs
parent
f2b300c7
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
+4
-0
4 additions, 0 deletions
openstack/nodeimage.pkr.hcl
openstack/variables.pkr.hcl
+24
-0
24 additions, 0 deletions
openstack/variables.pkr.hcl
with
28 additions
and
0 deletions
openstack/nodeimage.pkr.hcl
+
4
−
0
View file @
ec3c0715
...
...
@@ -3,8 +3,12 @@ locals {
}
source
"openstack"
"image"
{
skip_create_image
=
var
.
skip_create_image
image_name
=
local
.
local_image_name
source_image_name
=
var
.
source_image
image_members
=
var
.
image_membership
image_auto_accept_members
=
var
.
auto_accept_members
image_tags
=
var
.
image_tags
flavor
=
var
.
flavor
instance_name
=
var
.
build_instance_name
...
...
This diff is collapsed.
Click to expand it.
openstack/variables.pkr.hcl
+
24
−
0
View file @
ec3c0715
...
...
@@ -15,6 +15,30 @@ variable "image_date_suffix" {
description
=
"Append a date to the image name (in YYYYMMDDHHMMSS format)"
}
variable
"image_tags"
{
type
=
list
(
string
)
default
=
[]
description
=
"List of tags to be associated to the resulting image"
}
variable
"image_membership"
{
type
=
list
(
string
)
default
=
[]
description
=
"Projects/tenants to share the image in openstack with"
}
variable
"auto_accept_members"
{
type
=
bool
default
=
false
description
=
"A boolean value for auto accepting image in the projects/tenants defined in image_membership."
}
variable
"skip_create_image"
{
type
=
bool
default
=
false
description
=
"A boolean value for skipping image creation at the end of the build"
}
variable
"source_image"
{
type
=
string
description
=
"The name of the source image to use"
...
...
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