From a8f835fd25ceb8767f8ec2bfcc96ab03d7d72b79 Mon Sep 17 00:00:00 2001 From: Mike Perez Date: Tue, 13 Mar 2012 16:08:20 -0700 Subject: [PATCH] default install dir shall be ~/openstack --- AUTHORS | 6 ++++-- devstack/opts.py | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AUTHORS b/AUTHORS index 13f8b95e..71875286 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,9 +1,11 @@ V2 -- +Chris Wright +Gunther Hagleitner +Jonathan Lacour Joshua Harlow Ken Thomas -Gunther Hagleitner -Chris Wright +Mike Perez V1 -- diff --git a/devstack/opts.py b/devstack/opts.py index f9afc7a6..e1f9eccc 100644 --- a/devstack/opts.py +++ b/devstack/opts.py @@ -14,8 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. -import tempfile - from optparse import IndentedHelpFormatter from optparse import OptionParser, OptionGroup @@ -63,7 +61,7 @@ def parse(): dest="action", metavar="ACTION", help="required action to perform: %s" % (_format_list(settings.ACTIONS))) - default_dir = sh.joinpths(tempfile.gettempdir(), DEF_OS_DIR) + default_dir = sh.joinpths(sh.gethomedir(), DEF_OS_DIR) base_group.add_option("-d", "--directory", action="store", type="string",