privisioner/chef-client: don't chown with ubuntu [GH-939]
This commit is contained in:
parent
3c59d0ef96
commit
3de16f20b9
|
@ -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)
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue