/usr/share/osinfo/install-script/ubuntu.com/ubuntu-preseed-jeos.xml is in osinfo-db 0.20180226-1~deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | <?xml version="1.0" encoding="UTF-8"?>
<libosinfo version="0.0.1">
<install-script id='http://ubuntu.com/ubuntu/preseed/jeos'>
<profile>jeos</profile>
<expected-filename>preseed.cfg</expected-filename>
<config>
<param policy="optional" name="admin-password"/>
<param value-map="http://x.org/x11-keyboard" policy="optional" name="l10n-keyboard"/>
<param policy="optional" name="l10n-timezone"/>
<param policy="optional" name="l10n-language"/>
<param policy="optional" name="target-disk"/>
<param policy="optional" name="hostname"/>
</config>
<injection-method>initrd</injection-method>
<template>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:template match="/command-line">
<xsl:text>file=file:/</xsl:text>
<xsl:value-of select="script/expected-filename"/>
<xsl:text> locale=</xsl:text>
<xsl:value-of select="config/l10n-language"/>
<xsl:text> keyboard-configuration/layoutcode=</xsl:text>
<xsl:value-of select="config/l10n-keyboard"/>
<xsl:text> hostname=</xsl:text>
<xsl:call-template name="hostname"/>
<xsl:text> priority=critical console-setup/ask_detect=false domain=unassigned-domain interface=auto</xsl:text>
</xsl:template>
<xsl:template name="target-disk">
<xsl:choose>
<xsl:when test="config/target-disk != ''">
<xsl:value-of select="config/target-disk"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>/dev/hda</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="hostname">
<xsl:choose>
<xsl:when test="config/hostname != ''">
<xsl:value-of select="config/hostname"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>ubuntu</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="/install-script-config">d-i debian-installer/locale string <xsl:value-of select="config/l10n-language"/>
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string <xsl:value-of select="config/l10n-keyboard"/>
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string <xsl:call-template name="hostname"/>
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/wireless_wep string
d-i clock-setup/utc boolean true
d-i time/zone string <xsl:value-of select="config/l10n-timezone"/>
<xsl:if test="os/version < 7.04">
d-i partman-auto/disk string <xsl:call-template name="target-disk"/>
</xsl:if>
<xsl:if test="os/version = 7.04">
d-i partman-auto/init_automatically_partition select Use the largest continuous free space
</xsl:if>
d-i partman-auto/method string regular
<xsl:choose>
<xsl:when test="os/version < 7.10">
d-i partman-auto/choose_recipe select Separate /home partition
</xsl:when>
<xsl:otherwise>
d-i partman-auto/choose_recipe select home
</xsl:otherwise>
</xsl:choose>
d-i partman/confirm_write_new_label boolean true
<xsl:choose>
<xsl:when test="os/version < 7.10">
d-i partman/choose_partition select Finish partitioning and write changes to disk
</xsl:when>
<xsl:otherwise>
d-i partman/choose_partition select finish
</xsl:otherwise>
</xsl:choose>
d-i partman/confirm boolean true
<xsl:if test="os/version > 9.10">
d-i partman/confirm_nooverwrite boolean true
</xsl:if>
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password password <xsl:value-of select="config/admin-password"/>
d-i passwd/root-password-again password <xsl:value-of select="config/admin-password"/>
<xsl:if test="os/version < 6.10">
d-i pkgsel/install-language-support boolean false
</xsl:if>
<xsl:choose>
<xsl:when test="os/version < 7.10">
tasksel tasksel/first multiselect ubuntu-standard, ubuntu-desktop
</xsl:when>
<xsl:otherwise>
tasksel tasksel/first multiselect standard
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="os/version < 8.04">
d-i mirror/http/proxy string
</xsl:when>
<xsl:when test="os/version = 10.04">
d-i pkgsel/include/install-recommends boolean true
d-i pkgsel/include string ltsp-server-standalone openssh-server python-software-properties
d-i preseed/late_command string chroot /target /usr/sbin/ltsp-update-sshkeys
</xsl:when>
<xsl:when test="os/version = 11.04">
d-i pkgsel/include/install-recommends boolean true
d-i pkgsel/include string openssh-server
</xsl:when>
<xsl:when test="os/version > 11.04">
d-i pkgsel/include/install-recommends boolean true
d-i pkgsel/include string openssh-server python-software-properties
</xsl:when>
</xsl:choose>
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i apt-setup/security_host string
base-config apt-setup/security-updates boolean false
<xsl:if test="os/version > 7.04">
ubiquity ubiquity/summary note
ubiquity ubiquity/reboot boolean true
</xsl:if>
d-i finish-install/reboot_in_progress note
<xsl:if test="os/version < 6.10">
d-i prebaseconfig/reboot_in_progress note
</xsl:if>
<xsl:if test="os/version = 13.04">
ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/& [ "$prompt" ] || return 0/' /etc/init.d/casper
</xsl:if>
</xsl:template>
</xsl:stylesheet>
</template>
</install-script>
</libosinfo>
|