Bsdinstall and unattended ZFS installation

Victor Sudakov vas at mpeks.tomsk.su
Tue Jul 19 02:04:34 UTC 2016


Kamil Czekirda wrote:
> Dear Victor,
> 
> you should use something like:

> 
> =====================================
> # by VAS
> DISTRIBUTIONS="kernel.txz base.txz games.txz"
> 
> # Virtual Device (vdev) type to create, possible options:
> # stripe - no redundancy,
> # mirror - n-Way Mirroring,
> # raidz1, raidz2, raidz3 - single, double, triple redundant RAID
> #
> ZFSBOOT_VDEV_TYPE="stripe"
> 
> ZFSBOOT_DISKS="md0"
> 
> ZFSBOOT_SWAP_SIZE=2g
> 
> ZFSBOOT_CONFIRM_LAYOUT=1
> 
> #!/bin/sh

Dear Kamil,

The script you provided goes interactive into the "ZFS Configuration"
dialogue. So technically it is not a working unattended script I am
looking for.

I tried it on 10.3-RELEASE-p4.

[dd]

> # sed -i .bak 's/Components src world kernel/Components world kernel/'
> /etc/freebsd-update.conf # you don't need it since r284425

And what do you mean by the above BTW? 


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-sysinstall mailing list