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
0373a950
Commit
0373a950
authored
Jan 05, 2014
by
Matthew McKeen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/mitchellh/packer
into docker-metadata
parents
b53dd2e0
73e57d91
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
16 deletions
+20
-16
CHANGELOG.md
CHANGELOG.md
+2
-0
builder/virtualbox/iso/builder.go
builder/virtualbox/iso/builder.go
+7
-7
builder/vmware/iso/builder.go
builder/vmware/iso/builder.go
+7
-7
website/source/docs/builders/openstack.html.markdown
website/source/docs/builders/openstack.html.markdown
+3
-2
website/source/docs/provisioners/puppet-masterless.html.markdown
.../source/docs/provisioners/puppet-masterless.html.markdown
+1
-0
No files found.
CHANGELOG.md
View file @
0373a950
...
...
@@ -3,6 +3,8 @@
BUG FIXES:
*
builders/docker: user variables work properly. [GH-777]
*
builder/virtualbox,vmware: iso
\_
checksum is not required if the
checksum type is "none"
## 0.5.1 (01/02/2014)
...
...
builder/virtualbox/iso/builder.go
View file @
0373a950
...
...
@@ -175,19 +175,19 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
errs
,
errors
.
New
(
"http_port_min must be less than http_port_max"
))
}
if
b
.
config
.
ISOChecksum
==
""
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
errors
.
New
(
"Due to large file sizes, an iso_checksum is required"
))
}
else
{
b
.
config
.
ISOChecksum
=
strings
.
ToLower
(
b
.
config
.
ISOChecksum
)
}
if
b
.
config
.
ISOChecksumType
==
""
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
errors
.
New
(
"The iso_checksum_type must be specified."
))
}
else
{
b
.
config
.
ISOChecksumType
=
strings
.
ToLower
(
b
.
config
.
ISOChecksumType
)
if
b
.
config
.
ISOChecksumType
!=
"none"
{
if
b
.
config
.
ISOChecksum
==
""
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
errors
.
New
(
"Due to large file sizes, an iso_checksum is required"
))
}
else
{
b
.
config
.
ISOChecksum
=
strings
.
ToLower
(
b
.
config
.
ISOChecksum
)
}
if
h
:=
common
.
HashForType
(
b
.
config
.
ISOChecksumType
);
h
==
nil
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
...
...
builder/vmware/iso/builder.go
View file @
0373a950
...
...
@@ -206,19 +206,19 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
errs
,
errors
.
New
(
"http_port_min must be less than http_port_max"
))
}
if
b
.
config
.
ISOChecksum
==
""
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
errors
.
New
(
"Due to large file sizes, an iso_checksum is required"
))
}
else
{
b
.
config
.
ISOChecksum
=
strings
.
ToLower
(
b
.
config
.
ISOChecksum
)
}
if
b
.
config
.
ISOChecksumType
==
""
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
errors
.
New
(
"The iso_checksum_type must be specified."
))
}
else
{
b
.
config
.
ISOChecksumType
=
strings
.
ToLower
(
b
.
config
.
ISOChecksumType
)
if
b
.
config
.
ISOChecksumType
!=
"none"
{
if
b
.
config
.
ISOChecksum
==
""
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
errors
.
New
(
"Due to large file sizes, an iso_checksum is required"
))
}
else
{
b
.
config
.
ISOChecksum
=
strings
.
ToLower
(
b
.
config
.
ISOChecksum
)
}
if
h
:=
common
.
HashForType
(
b
.
config
.
ISOChecksumType
);
h
==
nil
{
errs
=
packer
.
MultiErrorAppend
(
errs
,
...
...
website/source/docs/builders/openstack.html.markdown
View file @
0373a950
...
...
@@ -37,7 +37,8 @@ Required:
*
`provider`
(string) - The provider used to connect to the OpenStack service.
If not specified, Packer will attempt to read this from the
`SDK_PROVIDER`
environment variable.
`SDK_PROVIDER`
environment variable. For Rackspace this should be
`rackspace-us`
or
`rackspace-uk`
.
*
`region`
(string) - The name of the region, such as "DFW", in which
to launch the server to create the AMI.
...
...
@@ -74,7 +75,7 @@ Ubuntu 12.04 LTS (Precise Pangolin) on Rackspace OpenStack cloud offering.
"type": "openstack",
"username": "",
"password": "",
"provider": "",
"provider": "
rackspace-us
",
"region": "DFW",
"ssh_username": "root",
"image_name": "Test image",
...
...
website/source/docs/provisioners/puppet-masterless.html.markdown
View file @
0373a950
...
...
@@ -88,6 +88,7 @@ for readability) to execute Puppet:
--modulepath='{{.ModulePath}}' \
{{if ne .HieraConfigPath ""}}--hiera_config='{{.HieraConfigPath}}' {{end}} \
{{if ne .ManifestDir ""}}--manifestdir='{{.ManifestDir}}' {{end}} \
--detailed-exitcodes \
{{.ManifestFile}}
```
...
...
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