From: Thierry Parmentelat Date: Mon, 14 Feb 2011 16:07:55 +0000 (+0100) Subject: add /bm-install.txt at the root of the installed hdd X-Git-Tag: bootmanager-5.0-17~3 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=2f0afa2aceabd1e3999a239d47f4c02173251e00 add /bm-install.txt at the root of the installed hdd --- diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index a40e2e3..8d8d917 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -182,4 +182,11 @@ def Run( vars, log ): " >%s/etc/pki/rpm-gpg/RPM-GPG-KEY-planetlab" % (SYSIMG_PATH, SYSIMG_PATH), log) utils.sysexec_chroot(SYSIMG_PATH, "rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-planetlab", log) + // keep a log on the installed hdd + stamp=file(SYSIMG_PATH + "/bm-install.txt",'w') + now=time.strftime("%Y-%b-%d @ %H:%M %Z", time.gmtime()) + stamp.write("BootManager finished reinstall from bootstrapfs on %s\n"%now) + stamp.write("Using nodefamily %s\n"%nodefamily) + stamp.close() + return 1