From 328477172eec264652198fa1f25ece0fc2d3e6c3 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Mon, 24 Mar 2014 23:50:38 -0300 Subject: [PATCH] command/sudoers: Add missing `-p` to `mkdir` command --- lib/vagrant-lxc/command/sudoers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *' },