From 6bf7dad4f4ffe2f6fd3db01d2c4a51b1afdc42ea Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Thu, 21 Feb 2013 16:47:23 +0100
Subject: [PATCH] vcluster-setup: Create $vnode/etc/ganeti directory
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This directory is required by β€œcfgupgrade” and some other tools.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
---
 tools/vcluster-setup.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/vcluster-setup.in b/tools/vcluster-setup.in
index ab8affacc..ad918bdad 100644
--- a/tools/vcluster-setup.in
+++ b/tools/vcluster-setup.in
@@ -187,7 +187,7 @@ setup_node() {
   fi
 
   mkdir -p \
-    $nodedir@SYSCONFDIR@/default \
+    $nodedir@SYSCONFDIR@/{default,ganeti} \
     $nodedir@LOCALSTATEDIR@/lock\
     $nodedir@LOCALSTATEDIR@/{lib,log,run}/ganeti
 
-- 
GitLab