summaryrefslogtreecommitdiff
path: root/debian11-taler.yaml
blob: fd84692c9ca5f5239e407711c086d4b8012369da (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
68
69
70
71
72
73
74
75
76
77
#==============================================================================
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80
#==============================================================================
#
# DESCRIPTION: Customization of a Debian 10 image with GNU Taler repositories.
#
#==============================================================================
# This recipe extends another. To look at the step involed, run:
#   kameleon dryrun debian10_custom.yaml
# To see the variables that you can override, use the following command:
#   kameleon info debian10_custom.yaml
---
extend: grid5000/debian11-x64-min.yaml

global:
  ### Uncomment and adapt the global variables below as needed

  ## Export format to generate
  # appliance_formats: qcow2 tar.zst

  ## Environment description customization
  ## Author
  g5k_author: "grothoff@gnu.org"
  ## Version
  g5k_version: 2
  ## Environment image path and compression
  # Note: unknown why this is not propagated to the ".dsc" file,
  #       So we must adjust it manually!
  g5k_tgz_file: http://public.lyon.grid5000.fr/~grothoff/debian10-taler.tar.zst
  # g5k_tar_compression: "zstd"
  ## Environment postinstall path, compression, and script command
  # g5k_postinst_path: server:///grid5000/postinstalls/g5k-postinstall.tgz
  # g5k_postinst_compression: "gzip"
  # g5k_postinst_script: g5k-postinstall --net debian
  ## Environment kernel path and params
  # g5k_kernel_path: "/vmlinuz"
  # g5k_initrd_path: "/initrd.img"
  # g5k_kernel_params: ""
  ## Environment visibility
  # g5k_visibility: "shared"
  other_packages_no_clean: nginx postgresql-13 taler-exchange taler-auditor taler-merchant taler-exchange-offline taler-wallet-cli sudo git zile

  ## Other parameters can be changed, see kameleon info debian10-taler.yaml

bootstrap:
  ### The bootstrap section takes in charge the initial installation of the
  ## system (distribution installation). No modification should be needed here.
  - "@base"

setup:
  ### The setup section is where customizations of the system take place.
  ## We can request steps from the extended recipe to be executed
  - "@base"
  - taler_install
  ## We add steps required by our customization after or before @base. Use
  ## kameleon dryrun debian10_custom.yaml to see the resulting steps in the build.
  ## The following is given as example only, replace with your steps.
  - a_customization_step:
    - microstep1:
      - exec_in: |
           cd /root
           git clone git://git.taler.net/grid5k.git
           cp grid5k/gridboot.service /etc/systemd/system/gridboot.service
           chmod 640 /etc/systemd/system/gridboot.service
           cp grid5k/at-boot.sh /usr/local/bin/at-boot.sh
           chmod +x /usr/local/bin/at-boot.sh
           systemctl daemon-reload
           systemctl enable gridboot

    - microstep1:
      # This breakpoint will stop the build for inspecting the environment
      - breakpoint

export:
  ### The export section takes in charge the export of your customized Grid'5000
  ## environment. No modification should be needed here.
  - "@base"