Changeset 6860


Ignore:
Timestamp:
Feb 19, 2018, 9:29:02 AM (18 months ago)
Author:
kbut
Message:

add time to backup image name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lmd/trunk/fuentes/lmd-server.install/usr/sbin/lmd-update-image-delay

    r6840 r6860  
    5050                        lmd_config = json.load(data_file)
    5151                lmd_config['id'] = self.new_identifier
    52                 lmd_config['name'] = "{name} ({date_string})".format(name=lmd_config['name'], date_string=self.TODAY.strftime("%d-%m-%Y"))
     52                lmd_config['name'] = "{name} ({date_string})".format(name=lmd_config['name'], date_string=self.TODAY.strftime("%d-%m-%Y %H:%M"))
    5353                lmd_config['status'] = "enabled-non-editable"
    5454                with open(os.path.join(self.LMD_CONFIG_BASE, self.new_identifier + ".json"), 'w') as data_file:
Note: See TracChangeset for help on using the changeset viewer.