Advertisement
Guest User

silas

a guest
Nov 24th, 2009
535
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # sysinst.conf - Installation configuration file
  2.  
  3. # Let's tell what is our default disk
  4.  
  5. install disk is wd0
  6.  
  7. # Then we specify partitions. The { } blocks are used to group things
  8. # together. The itens are separatted by a new line and colons separate
  9. # items in a line. Each type of block have its own items.
  10.  
  11. # Partition and slice sizes should be expressed with units: B, KB, MB, GB...
  12.  
  13. partitions {
  14. a {
  15. format: NetBSD
  16. start: 0
  17. size: 10GB or at least 10%
  18. # end: Should override size?
  19. active: yes
  20. install: yes
  21. bootmenu: NetBSD
  22. default: yes
  23. }
  24. c {
  25. format: Unused
  26. }
  27. }
  28.  
  29. # Then we specify the disklabel. I tried to stick with sysinst menu
  30. # syntax.
  31.  
  32. disklabel {
  33. a {
  34. FStype: FFSv2
  35. start: 0
  36. size: 1G or at least 10%
  37. newfs: yes
  38. avg file size: 4 fragments
  39. block size: 16KB
  40. fragment size: 2KB
  41. mount: yes
  42. mount point: /
  43. mount options: log
  44. }
  45. b {
  46. FStype: swap
  47. start: a
  48. end: 2048MB # "end" overrules "size" or "size overrules"
  49. # end, depending what comes after.
  50. }
  51. }
  52.  
  53. # Sets installation.
  54.  
  55. sets {
  56. origin {
  57. media: nfs
  58. TODO...
  59. }
  60.  
  61. kernel: GENERIC
  62. base: yes
  63. etc: yes
  64. comp: yes
  65. games: no
  66. man: yes
  67. misc: yes
  68. test: yes
  69. xbase: yes
  70. xcomp: no
  71. xetc: yes
  72. xfont: yes
  73. xserver: yes
  74. }
  75.  
  76. # Post installation configuration
  77.  
  78. post-install {
  79. timezone: America/Sao_Paulo
  80. crypt: MD5
  81. password: foobar # Ooops!!! What to do here?!?!?!
  82. shell: /bin/ksh
  83. }
  84.  
  85. # TODO: Allow installation of 3rd-party packages built from pkgsrc
  86. # TODO: Allow formating and configuration of other disks not expressed by the
  87. # "install disk is ..." rule at the beginning of this file.
  88.  
Advertisement
RAW Paste Data Copied
Advertisement