bsdinstall and unattended zfs installation
Aropalo Tommi
taropalo at kronometrix.org
Tue Aug 23 10:30:45 UTC 2016
Hi Victor,
I have marked this one to be working. From the time stap I have used it
Aug 6 2015. So if nothing haven't changed after that it should work.
DISTRIBUTIONS="kernel.txz base.txz krono.txz"
export ZFSBOOT_DISKS=ada0
export ZFSBOOT_VDEV_TYPE="stripe"
#export ZFSBOOT_FORCE_4K_SECTORS="0"
export ZFSBOOT_FORCE_4K_ALIGN="0"
export ZFSBOOT_SWAP_SIZE="5g"
export ZFSBOOT_SWAP_MIRROR="0"
#export ZFSBOOT_POOL_CREATE_OPTIONS="-O compress=lz4 -O checksum=fletcher4"
export nonInteractive="YES"
On 14/07/16 07:45, Victor Sudakov wrote:
> OK, I'll phrase it differently. Could someone please give me a working
> example of a bsdinstall script (for "bsdinstall script") for an
> unattended installation on ZFS?
>
> Thanks a lot in advance.
>
> Victor Sudakov wrote:
>> I'm trying the "bsdinstall script myscript" automated setup feature on
>> a 10.3-RELEASE system. When myscript looks like this:
>>
>> PARTITIONS=md0
>> DISTRIBUTIONS="kernel.txz base.txz games.txz"
>>
>> everying goes fine.
>>
>> But when I change it into:
>>
>> ZFSBOOT_DISKS=md0
>> DISTRIBUTIONS="kernel.txz base.txz games.txz"
>>
>> everything gets screwed up, bsdinstall spits out lots of debug and
>> goes interactive.
>>
>> What am I missing? What should an install script look like for
>> unattended ZFS install with a default dataset layout?
>>
>>
>> --
>> Victor Sudakov, VAS4-RIPE, VAS47-RIPN
>> sip:sudakov at sibptus.tomsk.ru
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Ystävällisin Terveisin / Best Regards
Tommi Aropalo
E-mail: taropalo at kronometrix.org
www.kronometrix.org
More information about the freebsd-questions
mailing list