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
ad374e82
Commit
ad374e82
authored
Jun 12, 2015
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/openstack: shuffle some fields to note unused fields
parent
5d32a1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
builder/openstack/run_config.go
builder/openstack/run_config.go
+15
-13
No files found.
builder/openstack/run_config.go
View file @
ad374e82
...
@@ -11,19 +11,21 @@ import (
...
@@ -11,19 +11,21 @@ import (
// RunConfig contains configuration for running an instance from a source
// RunConfig contains configuration for running an instance from a source
// image and details on how to access that launched image.
// image and details on how to access that launched image.
type
RunConfig
struct
{
type
RunConfig
struct
{
SourceImage
string
`mapstructure:"source_image"`
SourceImage
string
`mapstructure:"source_image"`
Flavor
string
`mapstructure:"flavor"`
Flavor
string
`mapstructure:"flavor"`
RawSSHTimeout
string
`mapstructure:"ssh_timeout"`
RawSSHTimeout
string
`mapstructure:"ssh_timeout"`
SSHUsername
string
`mapstructure:"ssh_username"`
SSHUsername
string
`mapstructure:"ssh_username"`
SSHPort
int
`mapstructure:"ssh_port"`
SSHPort
int
`mapstructure:"ssh_port"`
SSHInterface
string
`mapstructure:"ssh_interface"`
SSHInterface
string
`mapstructure:"ssh_interface"`
OpenstackProvider
string
`mapstructure:"openstack_provider"`
RackconnectWait
bool
`mapstructure:"rackconnect_wait"`
UseFloatingIp
bool
`mapstructure:"use_floating_ip"`
FloatingIpPool
string
`mapstructure:"floating_ip_pool"`
RackconnectWait
bool
`mapstructure:"rackconnect_wait"`
FloatingIp
string
`mapstructure:"floating_ip"`
FloatingIpPool
string
`mapstructure:"floating_ip_pool"`
SecurityGroups
[]
string
`mapstructure:"security_groups"`
FloatingIp
string
`mapstructure:"floating_ip"`
Networks
[]
string
`mapstructure:"networks"`
SecurityGroups
[]
string
`mapstructure:"security_groups"`
Networks
[]
string
`mapstructure:"networks"`
// Not really used, but here for BC
OpenstackProvider
string
`mapstructure:"openstack_provider"`
UseFloatingIp
bool
`mapstructure:"use_floating_ip"`
// Unexported fields that are calculated from others
// Unexported fields that are calculated from others
sshTimeout
time
.
Duration
sshTimeout
time
.
Duration
...
...
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