From owner-freebsd-questions@freebsd.org Tue Aug 23 10:30:45 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AEA8BC3EAC for ; Tue, 23 Aug 2016 10:30:45 +0000 (UTC) (envelope-from taropalo@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [54.72.43.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 103F71BA2 for ; Tue, 23 Aug 2016 10:30:44 +0000 (UTC) (envelope-from taropalo@kronometrix.org) Received: from [192.168.0.30] (188-127-209-196.cust.suomicom.net [188.127.209.196]) (authenticated bits=0) by mail.kronometrix.org (8.14.9/8.14.9) with ESMTP id u7NAMBuf043324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 23 Aug 2016 10:22:12 GMT (envelope-from taropalo@kronometrix.org) Subject: Re: bsdinstall and unattended zfs installation To: freebsd-questions@freebsd.org References: <20160623134221.GA58972@admin.sibptus.transneft.ru> <20160714044511.GA64449@admin.sibptus.transneft.ru> From: Aropalo Tommi X-Enigmail-Draft-Status: N1110 Message-ID: <0ede35ee-4ca8-d342-a0d9-b83c8917d6a5@kronometrix.org> Date: Tue, 23 Aug 2016 13:22:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160714044511.GA64449@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 10:30:45 -0000 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=3D"kernel.txz base.txz krono.txz" export ZFSBOOT_DISKS=3Dada0 export ZFSBOOT_VDEV_TYPE=3D"stripe" #export ZFSBOOT_FORCE_4K_SECTORS=3D"0" export ZFSBOOT_FORCE_4K_ALIGN=3D"0" export ZFSBOOT_SWAP_SIZE=3D"5g" export ZFSBOOT_SWAP_MIRROR=3D"0" #export ZFSBOOT_POOL_CREATE_OPTIONS=3D"-O compress=3Dlz4 -O checksum=3Dfl= etcher4" export nonInteractive=3D"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=3Dmd0 >> DISTRIBUTIONS=3D"kernel.txz base.txz games.txz" >> >> everying goes fine. >> >> But when I change it into: >> >> ZFSBOOT_DISKS=3Dmd0 >> DISTRIBUTIONS=3D"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?=20 >> >> >> --=20 >> Victor Sudakov, VAS4-RIPE, VAS47-RIPN >> sip:sudakov@sibptus.tomsk.ru >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebs= d.org" --=20 Yst=E4v=E4llisin Terveisin / Best Regards Tommi Aropalo E-mail: taropalo@kronometrix.org www.kronometrix.org