Date: Tue, 19 Jul 2016 08:27:13 +0200 From: Kamil Czekirda <kczekirda@gmail.com> To: Victor Sudakov <vas@mpeks.tomsk.su> Cc: freebsd-sysinstall@freebsd.org Subject: Re: Bsdinstall and unattended ZFS installation Message-ID: <CADSgWNE3ZZ63c=LiccJ6jHo5pshtjRBnchKj=XUB=DhTA5iKiQ@mail.gmail.com> In-Reply-To: <20160719020427.GA22537@admin.sibptus.transneft.ru> References: <20160718111523.GA15456@admin.sibptus.transneft.ru> <CADSgWNH8ykyDTbA-1sN4FG6Xd5uMWgnnk8tDMP1gTEZENQt7Gg@mail.gmail.com> <20160719020427.GA22537@admin.sibptus.transneft.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Victor, I missed nonInteractive="YES" and export This works fine: ===================================== export nonInteractive="YES" DISTRIBUTIONS="kernel.txz base.txz games.txz" export ZFSBOOT_VDEV_TYPE="stripe" export ZFSBOOT_DISKS="ada0" export ZFSBOOT_SWAP_SIZE=2g export ZFSBOOT_CONFIRM_LAYOUT=1 ===================================== 2016-07-19 4:04 GMT+02:00 Victor Sudakov <vas@mpeks.tomsk.su>: > 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? > https://lists.freebsd.org/pipermail/svn-src-head/2015-June/073165.html Removing src component from Components lists is unnecessary, because freebsd-update can recognize that src is not installed. Kamil > > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > sip:sudakov@sibptus.tomsk.ru >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADSgWNE3ZZ63c=LiccJ6jHo5pshtjRBnchKj=XUB=DhTA5iKiQ>