[Libosinfo] [osinfo-db PATCH 3/6] install-script, silverblue: Add osinfo-install-successful file
Fabiano Fidêncio
fidencio at redhat.com
Fri Jul 19 14:22:08 UTC 2019
Let's create an `osinfo-install-successful` file in /root after we
finish the installation.
Although this may not be totally accurate, it'll help up in the future
to test whether the installation was successful in an automated manner.
Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
.../fedoraproject.org/silverblue-kickstart-desktop.xml.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in b/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in
index 72ed130..70e8d7d 100644
--- a/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in
+++ b/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in
@@ -145,6 +145,9 @@ AutomaticLogin=<xsl:value-of select="config/user-login"/>
rm -f /etc/ostree/remotes.d/fedora-'<xsl:value-of select="os/version"/>'.conf
ostree remote add --if-not-exists --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-<xsl:value-of select="os/version"/>-primary fedora-<xsl:value-of select="os/version"/> 'https://dl.fedoraproject.org/atomic/repo/'
+# Create an osinfo-install-successful file in /root
+touch /root/osinfo-install-successful
+
%end
</xsl:template>
</xsl:stylesheet>
--
2.21.0
More information about the Libosinfo
mailing list