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
ad12b7a6
Commit
ad12b7a6
authored
2 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Add image format variable
parent
6ba43b6a
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-ood/nodeimage.pkr.hcl
+1
-0
1 addition, 0 deletions
openstack-ood/nodeimage.pkr.hcl
openstack-ood/variables.pkr.hcl
+6
-0
6 additions, 0 deletions
openstack-ood/variables.pkr.hcl
with
7 additions
and
0 deletions
openstack-ood/nodeimage.pkr.hcl
+
1
−
0
View file @
ad12b7a6
...
...
@@ -9,6 +9,7 @@ source "openstack" "image" {
image_members
=
var
.
image_membership
image_auto_accept_members
=
var
.
auto_accept_members
image_tags
=
var
.
image_tags
image_disk_format
=
var
.
image_format
flavor
=
var
.
flavor
instance_name
=
var
.
build_instance_name
...
...
This diff is collapsed.
Click to expand it.
openstack-ood/variables.pkr.hcl
+
6
−
0
View file @
ad12b7a6
...
...
@@ -9,6 +9,12 @@ variable "image_name" {
description
=
"Name of the image in openstack"
}
variable
"image_format"
{
type
=
string
default
=
"qcow2"
description
=
"The format of the resulting image"
}
variable
"image_date_suffix"
{
type
=
bool
default
=
false
...
...
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