autoinstall.cfg 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #!/bin/sh
  2. # Void Linux Automatic Install Configuration
  3. # ===
  4. # Disk Configuration
  5. # ===
  6. # disk_expr: jq expression to select the disk from the output of `lsblk --json`
  7. # default: .blockdevices[0].name
  8. #disk_expr=".blockdevices[0].name"
  9. # disk: the disk to install to
  10. # default: the first disk that isn't the installer
  11. #disk=/dev/hda
  12. # ===
  13. # XBPS Configuration
  14. # ===
  15. # xbpsrepository: which repo should the install pull from
  16. # default: https://repo-default.voidlinux.org/current
  17. #xbpsrepository="https://repo-default.voidlinux.org/current"
  18. # pkgs: additional packages to install into the target
  19. # default: none
  20. #pkgs=""
  21. # ===
  22. # Default User
  23. # ===
  24. # username: the username of the user to be created
  25. # default: voidlinux
  26. #username=""
  27. # password: password to set for the new user
  28. # default: unset (will prompt during install)
  29. # Warning: This does not work in musl!
  30. #password=""
  31. # ===
  32. # Misc. Options
  33. # ===
  34. # timezone: Timezone in TZ format
  35. # default: America/Chicago
  36. #timezone="America/Chicago"
  37. # keymap: Keymap to use by default
  38. # default: us
  39. #keymap="us"
  40. # locale: initial glibc locale
  41. # default: en_US.UTF-8
  42. #libclocale=en.US.UTF-8
  43. # hostname_expr: Expression to derive the hostname from the output of
  44. # `ip --json -r a`. The default finds all interfaces that are up and
  45. # possess a global address, and then picks the first one.
  46. # hostname_expr: [.[]|select(.operstate=="UP").addr_info.[]|select(.scope=="global").local].[0]
  47. #hostname_expr='[.[]|select(.operstate=="UP").addr_info.[]|select(.scope=="global").local].[0]'
  48. # hostname: static hostname for the system
  49. # default: derived from DNS
  50. #hostname=VoidLinux
  51. # end_action: what to do at the end of the install
  52. # default: shutdown
  53. # alternate values: reboot, script, func
  54. #end_action=shutdown
  55. # end_script: script to optionally run at end of install
  56. # the user script must reside somewhere xbps-uhelper fetch
  57. # can retrieve it from
  58. # default: not set
  59. #end_script=""
  60. # end_function: a function to optionally be run at
  61. # the end of the install.
  62. #end_function() {
  63. #
  64. #}