components/openstack/cloudbase-init/patches/userdata_location.patch
changeset 7108 e30b3b76a5ab
equal deleted inserted replaced
7105:60994030253b 7108:e30b3b76a5ab
       
     1 In-house patch to change the default for the heat_config_dir to
       
     2 something less Windows-oriented.  Upstream bug
       
     3 https://bugs.launchpad.net/cloudbase-init/+bug/1633235 has been filed
       
     4 to track this effort.
       
     5 
       
     6 --- cloudbase-init-0.9.9/cloudbaseinit/plugins/common/userdataplugins/heat.py.orig     2016-05-23 06:48:28.287743238 -0700
       
     7 +++ cloudbase-init-0.9.9/cloudbaseinit/plugins/common/userdataplugins/heat.py     2016-05-23 06:52:54.574788709 -0700
       
     8 @@ -24,8 +24,9 @@ from cloudbaseinit.utils import encoding
       
     9 
       
    10 
       
    11  opts = [
       
    12 -    cfg.StrOpt('heat_config_dir', default='C:\\cfn', help='The directory '
       
    13 -               'where the Heat configuration files must be saved'),
       
    14 +    cfg.StrOpt('heat_config_dir', default='/system/volatile',
       
    15 +               help='The directory where the Heat configuration files must '
       
    16 +               'be saved'),
       
    17  ]
       
    18 
       
    19  CONF = cfg.CONF