Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # sysinst.conf - Installation configuration file
- # Let's tell what is our default disk
- install disk is wd0
- # Then we specify partitions. The { } blocks are used to group things
- # together. The itens are separatted by a new line and colons separate
- # items in a line. Each type of block have its own items.
- # Partition and slice sizes should be expressed with units: B, KB, MB, GB...
- partitions {
- a {
- format: NetBSD
- start: 0
- size: 10GB or at least 10%
- # end: Should override size?
- active: yes
- install: yes
- bootmenu: NetBSD
- default: yes
- }
- c {
- format: Unused
- }
- }
- # Then we specify the disklabel. I tried to stick with sysinst menu
- # syntax.
- disklabel {
- a {
- FStype: FFSv2
- start: 0
- size: 1G or at least 10%
- newfs: yes
- avg file size: 4 fragments
- block size: 16KB
- fragment size: 2KB
- mount: yes
- mount point: /
- mount options: log
- }
- b {
- FStype: swap
- start: a
- end: 2048MB # "end" overrules "size" or "size overrules"
- # end, depending what comes after.
- }
- }
- # Sets installation.
- sets {
- origin {
- media: nfs
- TODO...
- }
- kernel: GENERIC
- base: yes
- etc: yes
- comp: yes
- games: no
- man: yes
- misc: yes
- test: yes
- xbase: yes
- xcomp: no
- xetc: yes
- xfont: yes
- xserver: yes
- }
- # Post installation configuration
- post-install {
- timezone: America/Sao_Paulo
- crypt: MD5
- password: foobar # Ooops!!! What to do here?!?!?!
- shell: /bin/ksh
- }
- # TODO: Allow installation of 3rd-party packages built from pkgsrc
- # TODO: Allow formating and configuration of other disks not expressed by the
- # "install disk is ..." rule at the beginning of this file.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement