You should add: "disable_sudo": true, to salt-masterless and it will be
alright, see
https://www.packer.io/docs/provisioners/salt-masterless.html#disable_sudo
// Rickard
On 11 May 2017 at 21:45, Adam wrote:
> Just trying to test out Packer builds. My environment:
>
> Packer
Just trying to test out Packer builds. My environment:
Packer box: CentOS 6.8 VirtualBox VM
Packer version: 1.0.0
Docker version: 1.7.1
My template:
{
"builders": [
{
"type": "docker",
"image": "centos:6",
"commit": true,
"pull": false
}],
"provisioners": [