From 2f0afa2aceabd1e3999a239d47f4c02173251e00 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 14 Feb 2011 17:07:55 +0100 Subject: [PATCH] add /bm-install.txt at the root of the installed hdd --- source/steps/InstallBootstrapFS.py | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.43.0