fix timezone for centos6 (#3078)

reviewable/pr18780/r1
Jonathan Mainguy 8 years ago committed by Brian Coca
parent d3e588cd78
commit df35d324d6

@ -52,7 +52,7 @@ options:
to configure, especially on virtual environments such as AWS. to configure, especially on virtual environments such as AWS.
required: false required: false
aliases: ['rtc'] aliases: ['rtc']
author: "Shinichi TAMURA @tmshn" author: "Shinichi TAMURA (@tmshn)"
''' '''
RETURN = ''' RETURN = '''
@ -402,7 +402,7 @@ class NosystemdTimezone(Timezone):
def set_timezone(self, value): def set_timezone(self, value):
self._edit_file(filename=self.conf_files['name'], self._edit_file(filename=self.conf_files['name'],
regexp=self.regexps['name'], regexp=self.regexps['name'],
value=self.tzline_format.format % value) value=self.tzline_format % value)
self.execute(self.update_timezone) self.execute(self.update_timezone)
def set_hwclock(self, value): def set_hwclock(self, value):

Loading…
Cancel
Save