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@xxxxxxxxxx> --- data/install-script/redhat.com/rhel-kickstart-desktop.xml.in | 3 +++ data/install-script/redhat.com/rhel-kickstart-jeos.xml.in | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in index 7bfaf6e..3eee257 100644 --- a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in +++ b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in @@ -248,6 +248,9 @@ AutomaticLogin=<xsl:value-of select="config/user-login"/> [debug] " > /etc/gdm/custom.conf +# Create an osinfo-install-successful file in /root +touch /root/osinfo-install-successful + %end </xsl:template> </xsl:stylesheet> diff --git a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in index fdef836..e664168 100644 --- a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in +++ b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in @@ -171,6 +171,11 @@ url --url=<xsl:call-template name="installation-url"/> </xsl:choose> @core +%post --erroronfail + +# Create an osinfo-install-successful file in /root +touch /root/osinfo-install-successful + %end </xsl:template> </xsl:stylesheet> -- 2.21.0 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo