This file is indexed.

/usr/lib/ubiquity/target-config/60edubuntu-ltsp is in edubuntu-live 14.04.2build1.

This file is owned by root:root, with mode 0o755.

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
#!/bin/sh
# NOTE: Actual install (ltsp-update-sshkeys + ltsp-update-image +
# ltsp-update kernsl) is done through the ltsp-server package.

. /usr/share/debconf/confmodule

db_get ubiquity/edubuntu-addon_ltsp_install
INSTALL="$RET"
db_get ubiquity/edubuntu-addon_ltsp_interface
INTERFACE="$RET"

if [ "$INSTALL" = "true" ]; then
    # Install the required packages
    apt-install ltsp-server-standalone

    # Copy the chroot
    mkdir -p /target/opt/ltsp/ /opt/ltsp/i386
    mount /cdrom/casper/ltsp.squashfs /opt/ltsp/i386 -o loop
    cp -r /opt/ltsp/i386 /target/opt/ltsp

    # Copy host settings to chroot
    if [ -f /etc/resolv.conf ]; then
        cp /etc/resolv.conf /opt/ltsp/i386/etc/
    fi
    cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/

    # Configuring network
    cat >> /target/etc/network/interfaces <<EOF
auto $INTERFACE
iface $INTERFACE inet static
  address 192.168.0.1
  netmask 255.255.255.0
EOF

    # Set initial lts.conf:
    # The directory doesn't exist yet, since ltsp-update-kernels have
    # not run yet, so we need to do so here
    mkdir -p /target/var/lib/tftpboot/ltsp/i386
    cat >> /target/var/lib/tftpboot/ltsp/i386/lts.conf << EOF
# lts.conf, provided by Edubuntu installer
# see http://edubuntu.org/documentation for more information

[default]
  LDM_THEME=edubuntu
  LANG=en_US.UTF-8
  LANGUAGE=$LANG
  LDM_LANGUAGE=$LANG
  LDM_SESSION=gnome-fallback
EOF

    # If the user chose fallback session, update LTSP accordingly
    db_get ubiquity/edubuntu-addon_fallback_install
    INSTALL="$RET"

#    if [ "$INSTALL" = "true" ]; then
#        echo "  LDM_SESSION=\"gnome-session --session=gnome-fallback\"" >> /target/var/lib/tftpboot/ltsp/i386/lts.conf
#    fi

    # Let ltsp-server's postinst know what to do
    touch /target/etc/edubuntu_ltsp_install

    # Cleaning up
    umount -l /opt/ltsp/i386
fi