1
0
mirror of synced 2026-01-30 21:16:31 +00:00
Files
xen-tools.xen-tools/hooks
Axel Beckert 2fba5cb90e Debian DomUs: Distinguish between $dist/updates and $dist-security
From Debian 11 Bullseye onwards, debian uses $dist-security instead of
$dist/updates as distribution part in /etc/apt/sources.list.

Mark those distributions with the old-style subdirectory path with
"security-subdir" in distributions.conf.

Thanks to Paul Wise for the bug report (and hence reminding me of
this) and for the suggestions on how to implement this (even if I
didn't follow them for the sake of simplicity and no additional
dependencies).

Closes: #972749
2020-12-19 06:49:29 +01:00
..

hooks/


  Once a distribution of GNU/Linux has been installed by the
 xt-install-image script we'll have a pristine system.

  To configure this the program xt-customize-image will call
 a collection of distro-specific shell scripts, or hooks.

  For each distribution we support there is a subdirectory 
 containing the necessary functions to configure the host
 minimally.

  By the time the scripts finish we'll expect:

   * The installation to have a working fstab file.
   * The installation will have IP address + networking configured.
   * The installation will have a running installation of OpenSSH

  The subdirectories in this hooks/ directory will be installed
 to the directory /usr/share/xen-tools/

Steve
--