diff --git a/lib/vagrant-lxc/command/sudoers.rb b/lib/vagrant-lxc/command/sudoers.rb index 0513eca..a0214e2 100644 --- a/lib/vagrant-lxc/command/sudoers.rb +++ b/lib/vagrant-lxc/command/sudoers.rb @@ -61,7 +61,7 @@ module Vagrant { cmd: '/usr/bin/lxc-attach', args: '' }, { cmd: '/usr/bin/which', args: 'lxc-*' }, { cmd: '/bin/cat', args: '/var/lib/lxc/*' }, - { cmd: '/bin/mkdir', args: '/var/lib/lxc/*' }, + { cmd: '/bin/mkdir', args: '-p /var/lib/lxc/*' }, { cmd: '/bin/su', args: "root -c sed -e '*' -ibak /var/lib/lxc/*" }, { cmd: '/bin/su', args: "root -c echo '*' >> /var/lib/lxc/*" }, { cmd: '/usr/bin/lxc-start', args: '-d --name *' },