From 974c29cf5af06f319bd290367b34f858d09a4d1c Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Wed, 19 Dec 2012 14:06:12 +0100 Subject: Move rootwrap code to openstack.common Copies current nova-rootwrap code to openstack.common, so that it can be reused by Cinder and Quantum. Implements blueprint common-rootwrap. Before it can be used in projects, update.py needs to grow the capability to deploy files in bin/ and etc/, as well as replacing a placeholder text by the destination project name in source files and binary names. In this proposed version, the placeholder text is "oslo". Change-Id: I8655d5b3cccacd1cc2225aa539339fb478615422 --- openstack/common/rootwrap/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 openstack/common/rootwrap/__init__.py (limited to 'openstack/common/rootwrap/__init__.py') diff --git a/openstack/common/rootwrap/__init__.py b/openstack/common/rootwrap/__init__.py new file mode 100644 index 0000000..671d3c1 --- /dev/null +++ b/openstack/common/rootwrap/__init__.py @@ -0,0 +1,16 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (c) 2011 OpenStack, LLC. +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -- cgit