# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
---
AGI_NBD_DEV: "{{BOX_NBD_DEV}}"
AGI_NBD_DISK: "/dev/{{AGI_NBD_DEV}}"
AGI_install_disk: "{{AGI_NBD_DISK}}"
AGI_NBD_PART: "{{AGI_NBD_DEV}}p1"
AGI_NBD_MP: "{{BOX_NBD_MP|default('/mnt/gentoo')}}"
AGI_NBD_FILES: "{{BOX_NBD_FILES}}"
AGI_GENTOO_FROM_MP: "{{BOX_GENTOO_FROM_MP}}"

AGI_GENTOOIMGR_CONFIGFILE: "{{AGI_NBD_FILES}}/base.json"

AGI_PROXY_MODE: "{{PROXY_MODE|default('')}}"

AGI_use_local_kernel: false
AGI_install_disklabel: msdos
AGI_install_timezone: UTC
AGI_install_locales:
  - en_US ISO-8859-1
  - en_US.UTF-8 UTF-8
  - en_GB.UTF-8 UTF-8
AGI_install_locale_default: en_US.utf8
AGI_install_hostname: localhost
AGI_install_network_interfaces:
  enp0s3:
    config: dhcp
  ens3:
    config: dhcp
AGI_container_disk: /dev/vda

AGI_install_syslog_daemon: syslog-ng # app-admin/sysklogd
AGI_install_cron_daemon: cronie
AGI_install_bootloader: syslinux

AGI_install_syslinux_kernel_line:
  # this is required I think
  - console=tty1
  # this is required I think
  - text
  # adjust these to suit
  - lang=en
  - keymap=us
  - rootfstype=ext2
  # remove this if you want IPV6
  - ipv6.disable=1
  # fsck should NOT be done by the bootloader
  - rd.skipfsck=1
  # =0x37f works too
  - vga=789
# these may not all be needed or useful in a container
  - pti=on
  - iommu=pt
  - amd_iommu=on
  - intel_iommu=on
  - debug

# remove the unused ones:
AGI_install_syslinux_c32:
  - vesa.c32
  - vesainfo.c32
  - vesamenu.c32
  - cat.c32
  - chain.c32
  - cmd.c32
  - cmenu.c32
  - cptime.c32
  - cpu.c32
  - cpuid.c32
  - cpuidtest.c32
  - debug.c32
  - dir.c32
  - disk.c32
  - dmi.c32
  - dmitest.c32
  - elf.c32
  - ethersel.c32
  - gfxboot.c32
  - gpxecmd.c32
  - hdt.c32
  - host.c32
  - ifcpu.c32
  - ifcpu64.c32
  - ifmemdsk.c32
  - ifplop.c32
  - kbdmap.c32
  - kontron_wdt.c32
  - ldlinux.c32
  - lfs.c32
  - libcom32.c32
  - libgpl.c32
  - liblua.c32
  - libmenu.c32
  - libutil.c32
  - linux.c32
  - ls.c32
  - mboot.c32
  - meminfo.c32
  - menu.c32
  - pci.c32
  - pcitest.c32
  - pmload.c32
  - poweroff.c32
  - prdhcp.c32
  - pwd.c32
  - pxechn.c32
  - reboot.c32
  - rosh.c32
  - sanboot.c32
  - sdi.c32
  - sysdump.c32
  - syslinux.c32
  - vpdtest.c32
  - whichsys.c32


AGI_install_root_password: root

AGI_bootstrap_mountpoints: []

# for --check
latest_stage_tarball: "{{AGI_NBD_FILES}}/stage3-amd64-openrc-20231217T170203Z.tar.xz"
latest_portage_tarball: "{{AGI_NBD_FILES}}/portage-20231223.tar.xz"
