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
4f568a0a
Commit
4f568a0a
authored
Aug 15, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-processor/vagrant: use common.PackerConfig
parent
334cf37f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
post-processor/vagrant/aws.go
post-processor/vagrant/aws.go
+3
-2
post-processor/vagrant/post-processor.go
post-processor/vagrant/post-processor.go
+0
-2
post-processor/vagrant/virtualbox.go
post-processor/vagrant/virtualbox.go
+3
-2
post-processor/vagrant/vmware.go
post-processor/vagrant/vmware.go
+3
-2
No files found.
post-processor/vagrant/aws.go
View file @
4f568a0a
...
...
@@ -3,6 +3,7 @@ package vagrant
import
(
"fmt"
"github.com/mitchellh/mapstructure"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
"io/ioutil"
"log"
...
...
@@ -13,10 +14,10 @@ import (
)
type
AWSBoxConfig
struct
{
common
.
PackerConfig
`mapstructure:",squash"`
OutputPath
string
`mapstructure:"output"`
VagrantfileTemplate
string
`mapstructure:"vagrantfile_template"`
PackerBuildName
string
`mapstructure:"packer_build_name"`
}
type
AWSVagrantfileTemplate
struct
{
...
...
post-processor/vagrant/post-processor.go
View file @
4f568a0a
...
...
@@ -19,8 +19,6 @@ var builtins = map[string]string{
type
Config
struct
{
OutputPath
string
`mapstructure:"output"`
PackerBuildName
string
`mapstructure:"packer_build_name"`
}
type
PostProcessor
struct
{
...
...
post-processor/vagrant/virtualbox.go
View file @
4f568a0a
...
...
@@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"github.com/mitchellh/mapstructure"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
"io/ioutil"
"log"
...
...
@@ -15,10 +16,10 @@ import (
)
type
VBoxBoxConfig
struct
{
common
.
PackerConfig
`mapstructure:",squash"`
OutputPath
string
`mapstructure:"output"`
VagrantfileTemplate
string
`mapstructure:"vagrantfile_template"`
PackerBuildName
string
`mapstructure:"packer_build_name"`
}
type
VBoxVagrantfileTemplate
struct
{
...
...
post-processor/vagrant/vmware.go
View file @
4f568a0a
...
...
@@ -3,6 +3,7 @@ package vagrant
import
(
"fmt"
"github.com/mitchellh/mapstructure"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
"io/ioutil"
"os"
...
...
@@ -11,10 +12,10 @@ import (
)
type
VMwareBoxConfig
struct
{
common
.
PackerConfig
`mapstructure:",squash"`
OutputPath
string
`mapstructure:"output"`
VagrantfileTemplate
string
`mapstructure:"vagrantfile_template"`
PackerBuildName
string
`mapstructure:"packer_build_name"`
}
type
VMwareBoxPostProcessor
struct
{
...
...
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