summaryrefslogtreecommitdiff
path: root/grid5000/from_scratch/debian-base.yaml
blob: 447e57dd5b074487200d1159d7836935d551a002 (plain)
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
#==============================================================================
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80
#==============================================================================
#
# DESCRIPTION: Debian generic recipe using the netinstall mechanim
#
# USAGE:
#   Select directly in this recipe: see usage example commented in the global of
#   this recipe
#
#   or, override the globals directly in CLI. For example:
#
#   kameleon build --global distrib:debian,release:wheezy
#
#   or extends this recipe with your own and override those variable in it.
#
#==============================================================================
---
extend: base.yaml

global:
  # Boilerplate values, so that `kameleon info' works with the recipe.
  # For a specific version of Debian, please see the dedicated recipe, as this
  # recipe is mainly meant as being extended.
  distrib: debian
  deb_arch: amd64
  release: jessie
  release_number: 8

  # URL to retrieve packages from (sources.list)
  deb_mirror_hostname: deb.debian.org
  deb_mirror_directory: /debian
  deb_mirror_uri: http://$${deb_mirror_hostname}$${deb_mirror_directory}
  deb_security_hostname: security.debian.org
  deb_security_directory: /debian
  deb_components: main contrib non-free

  # Install from the installer's iso
  # The location of the Debian netinstall iso can be set manually or guessed
  # using a url finder helper script
  #installer_iso_filename: debian-$${release_number}-$${deb_arch}-netinst.iso
  #installer_iso_location: archive
  #installer_iso_release_version: 8.0.0
  #installer_iso_url: http://cdimage.debian.org/cdimage/$${installer_iso_location}/$${installer_iso_release_version}/$${deb_arch}/iso-cd/$${installer_iso_filename}
  installer_iso_url:
  installer_iso_finder_helper: $${kameleon_data_dir}/helpers/netinstall_iso_finder.py
  installer_iso_finder_args: $${distrib} $${release_number} $${deb_arch}
  qemu_iso_path: $${kameleon_cwd}/$${distrib}.iso
  # Or install from the netboot kernel and initrd directly
  #installer_kernel_url: http://deb.debian.org/debian/dists/$${release}/main/installer-$${deb_arch}/current/images/netboot/debian-installer/$${deb_arch}/linux
  #installer_initrd_url: http://deb.debian.org/debian/dists/$${release}/main/installer-$${deb_arch}/current/images/netboot/debian-installer/$${deb_arch}/initrd.gz
  #installer_cmdline: "auto url=http://%LOCAL_IP%:%HTTP_PORT%/preseed.cfg"

  base_preseed_path: $${kameleon_data_dir}/preseed/$${distrib}-$${release}-preseed.cfg
  preseed_path: $${kameleon_cwd}/preseed.cfg

  qemu_sendkeys_commands: $${kameleon_data_dir}/qemu-sendkeys/netinst-iso-$${distrib}


bootstrap:
  - "@base"

setup:
  - "@base"

export:
  - "@base"