Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
e7a50133
Commit
e7a50133
authored
Aug 22, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/amazon: support tags in chroot and instance
parent
d03c852a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
CHANGELOG.md
CHANGELOG.md
+4
-0
builder/amazon/chroot/builder.go
builder/amazon/chroot/builder.go
+7
-0
builder/amazon/instance/builder.go
builder/amazon/instance/builder.go
+4
-3
No files found.
CHANGELOG.md
View file @
e7a50133
...
...
@@ -6,6 +6,10 @@ FEATURES:
*
builder/vmware: The root hard drive type can now be specified with
"disk_type_id" for advanced users. [GH-328]
IMPROVEMENTS:
*
builder/amazon: Tagging now works with all amazon builder types.
BUG FIXES:
*
core: Fixed a couple cases where a double ctrl-C could panic.
...
...
builder/amazon/chroot/builder.go
View file @
e7a50133
...
...
@@ -189,6 +189,13 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
&
StepEarlyCleanup
{},
&
StepSnapshot
{},
&
StepRegisterAMI
{},
&
awscommon
.
StepAMIRegionCopy
{
Regions
:
b
.
config
.
AMIRegions
,
Tags
:
b
.
config
.
AMITags
,
},
&
awscommon
.
StepCreateTags
{
Tags
:
b
.
config
.
AMITags
,
},
&
awscommon
.
StepModifyAMIAttributes
{
Description
:
b
.
config
.
AMIDescription
,
Users
:
b
.
config
.
AMIUsers
,
...
...
builder/amazon/instance/builder.go
View file @
e7a50133
...
...
@@ -33,7 +33,6 @@ type Config struct {
BundleUploadCommand
string
`mapstructure:"bundle_upload_command"`
BundleVolCommand
string
`mapstructure:"bundle_vol_command"`
S3Bucket
string
`mapstructure:"s3_bucket"`
Tags
map
[
string
]
string
X509CertPath
string
`mapstructure:"x509_cert_path"`
X509KeyPath
string
`mapstructure:"x509_key_path"`
X509UploadPath
string
`mapstructure:"x509_upload_path"`
...
...
@@ -213,9 +212,11 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
&
StepRegisterAMI
{},
&
awscommon
.
StepAMIRegionCopy
{
Regions
:
b
.
config
.
AMIRegions
,
Tags
:
b
.
config
.
Tags
,
Tags
:
b
.
config
.
AMITags
,
},
&
awscommon
.
StepCreateTags
{
Tags
:
b
.
config
.
AMITags
,
},
&
awscommon
.
StepCreateTags
{
Tags
:
b
.
config
.
Tags
},
&
awscommon
.
StepModifyAMIAttributes
{
Description
:
b
.
config
.
AMIDescription
,
Users
:
b
.
config
.
AMIUsers
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment