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
3de16f20
Commit
3de16f20
authored
Mar 12, 2014
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
privisioner/chef-client: don't chown with ubuntu [GH-939]
parent
3c59d0ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
provisioner/chef-client/provisioner.go
provisioner/chef-client/provisioner.go
+1
-1
No files found.
CHANGELOG.md
View file @
3de16f20
...
...
@@ -17,6 +17,7 @@ BUG FIXES:
which works for every region. [GH-904]
*
builder/virtualbox-iso: Retry unregister a few times to deal with
VBoxManage randomness. [GH-915]
*
provisioners/chef-client: Don't chown directory with Ubuntu. [GH-939]
## 0.5.2 (02/21/2014)
...
...
provisioner/chef-client/provisioner.go
View file @
3de16f20
...
...
@@ -311,7 +311,7 @@ func (p *Provisioner) createJson(ui packer.Ui, comm packer.Communicator) (string
func
(
p
*
Provisioner
)
createDir
(
ui
packer
.
Ui
,
comm
packer
.
Communicator
,
dir
string
)
error
{
ui
.
Message
(
fmt
.
Sprintf
(
"Creating directory: %s"
,
dir
))
cmd
:=
&
packer
.
RemoteCmd
{
Command
:
fmt
.
Sprintf
(
"sudo mkdir -p '%s'
&& sudo chown ubuntu '%s'"
,
dir
,
dir
),
Command
:
fmt
.
Sprintf
(
"sudo mkdir -p '%s'
"
,
dir
),
}
if
err
:=
cmd
.
StartWithUi
(
comm
,
ui
);
err
!=
nil
{
...
...
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