primer commit
This commit is contained in:
commit
864b3e4008
105 changed files with 3185 additions and 0 deletions
21
opentofu/xslt/ide-to-sata.xslt
Normal file
21
opentofu/xslt/ide-to-sata.xslt
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:output omit-xml-declaration="yes" indent="yes"/>
|
||||
<xsl:strip-space elements="*"/>
|
||||
|
||||
<xsl:template match="node()|@*">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="node()|@*"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="disk[serial='cloudinit']">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*"/>
|
||||
<xsl:copy-of select="driver"/>
|
||||
<source file="{source/@file}"/>
|
||||
<target dev="sda" bus="sata"/>
|
||||
<xsl:copy-of select="readonly"/>
|
||||
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
Loading…
Reference in a new issue