23329921 cloudbase-init creates C:\\cfn on Solaris s11u3-sru
authorDrew Fisher <drew.fisher@oracle.com>
Fri, 14 Oct 2016 08:02:40 -0700
branchs11u3-sru
changeset 7131 91c8a4919493
parent 7128 62fc6d60f3cf
child 7132 d0eff56c00ac
23329921 cloudbase-init creates C:\\cfn on Solaris
components/openstack/cloudbase-init/patches/userdata_location.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/openstack/cloudbase-init/patches/userdata_location.patch	Fri Oct 14 08:02:40 2016 -0700
@@ -0,0 +1,19 @@
+In-house patch to change the default for the heat_config_dir to
+something less Windows-oriented.  Upstream bug
+https://bugs.launchpad.net/cloudbase-init/+bug/1633235 has been filed
+to track this effort.
+
+--- cloudbase-init-0.9.9/cloudbaseinit/plugins/common/userdataplugins/heat.py.orig     2016-05-23 06:48:28.287743238 -0700
++++ cloudbase-init-0.9.9/cloudbaseinit/plugins/common/userdataplugins/heat.py     2016-05-23 06:52:54.574788709 -0700
[email protected]@ -24,8 +24,9 @@ from cloudbaseinit.utils import encoding
+
+
+ opts = [
+-    cfg.StrOpt('heat_config_dir', default='C:\\cfn', help='The directory '
+-               'where the Heat configuration files must be saved'),
++    cfg.StrOpt('heat_config_dir', default='/system/volatile',
++               help='The directory where the Heat configuration files must '
++               'be saved'),
+ ]
+
+ CONF = cfg.CONF