/usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/010-updates-mirrors is in ltsp-server 5.4.2-6+deb7u1.
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 | case "$MODE" in
commandline)
add_option "security-mirror" "`eval_gettext "set the security mirror location"`" "advanced" "true"
add_option "updates-mirror" "`eval_gettext "set the update mirror location"`" "advanced" "true"
;;
before-install)
SECURITY_MIRROR=${SECURITY_MIRROR:-"http://security.ubuntu.com/ubuntu"}
UPDATES_MIRROR=${UPDATES_MIRROR:-"$MIRROR"}
;;
configure)
if [ -n "$option_security_mirror_value" ]; then
SECURITY_MIRROR="$option_security_mirror_value"
fi
if [ -n "$option_updates_mirror_value" ]; then
UPDATES_MIRROR="$option_updates_mirror_value"
fi
;;
after-install)
add_mirrors "$UPDATES_MIRROR $DIST-updates $COMPONENTS"
add_mirrors "$SECURITY_MIRROR $DIST-security $COMPONENTS"
;;
esac
|