components/openstack/cloudbase-init/patches/posix.py.patch
branchs11u3-sru
changeset 6035 c9748fcc32de
equal deleted inserted replaced
6016:a477397bba8b 6035:c9748fcc32de
       
     1 Needed for cloudbase-init to run on non-Windows systems.  Needs to go upstream.
       
     2 
       
     3 --- cloudbase-init-0.9.8a/cloudbaseinit/osutils/posix.py	2015-03-19 15:42:23.000000000 -0700
       
     4 +++ /tmp/posix.py.new	2015-03-19 16:05:45.328238028 -0700
       
     5 @@ -17,7 +17,14 @@
       
     6  from cloudbaseinit.osutils import base
       
     7  
       
     8  
       
     9 -class PosixUtil(base.BaseOSUtils):
       
    10 +class PosixUtils(base.BaseOSUtils):
       
    11  
       
    12      def reboot(self):
       
    13          os.system('reboot')
       
    14 +
       
    15 +    def get_config_value(self, name, section=None):
       
    16 +        pass
       
    17 +
       
    18 +    def set_config_value(self, name, value, section=None):
       
    19 +        pass
       
    20 +