I'm trying to match Chef zero with what's actually used on my Chef server by setting the root_path to /etc/chef
from the default /tmp/kitchen
. After Chef is installed I get the following error:
Setting up chef (12.22.1-1) ...
Thank you for installing Chef!
mkdir: cannot create directory ‘/etc/chef’: Permission denied
I've added sudo: true
to the platform and suite but I'm still getting this error. How do I let kitchen create /etc/chef
with the Vagrant driver and Ubuntu 18.04.