From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 31 18:46:58 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 493FCC9B; Wed, 31 Dec 2014 18:46:58 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C02F64035; Wed, 31 Dec 2014 18:46:58 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id lf10so21678337pab.32; Wed, 31 Dec 2014 10:46:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=wjsJOUzIT7+i3b3G+0wlMR9aXA01rDWZKngjNLXZBgA=; b=UlQkEpp0hKL6F4PYwkWQ/e2xk/j/bHWht+sueo9GgTAxkB3Kd5Tw26PC0xa9sEedB8 S7bErOVg5KeIXNW9kHREFjxKmwrHP35TnTbl/fpGEGcHVon6W3RNdotL48u2hj0iE8Is q/pFNHfSiPGLc8MQr4L0Np1w8go2Llpb0YDaxnbKg6H5K+jEz2ZS1a7ewGdZYHKVsrM6 johnwSDJC0mAUy4k4zDGWShNxdU6nZ9zZRw1G2UlQugaWLll/bbqywGDEx8BNQOzHWV5 06qD5hIus2KVLkU/LpLzw3FwpCWfVDSiaOeMC1+Ia40S/3tFDZiplrXAcCmzoSQsMtbY zOBw== X-Received: by 10.70.40.139 with SMTP id x11mr109618625pdk.124.1420051617573; Wed, 31 Dec 2014 10:46:57 -0800 (PST) Received: from [192.168.20.5] (c-98-247-240-204.hsd1.wa.comcast.net. [98.247.240.204]) by mx.google.com with ESMTPSA id pd9sm41918118pdb.35.2014.12.31.10.46.56 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 31 Dec 2014 10:46:57 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_2FCC12BF-9EAA-44A8-AA2F-5F9646F10FC5"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: How to make a FreeBSD vm in virtualbox. From: Garrett Cooper In-Reply-To: <54A443F7.2060700@freebsd.org> Date: Wed, 31 Dec 2014 10:46:55 -0800 Message-Id: References: <13C55A7B-4010-40FA-901B-DF8ED6BADD87@freebsd.org> <20141231042455.GB53230@hub.FreeBSD.org> <24520431-8E2A-4D70-BD2D-D8D76A98C762@freebsd.org> <20141231151723.GA75959@hub.FreeBSD.org> <20141231161529.GB75959@hub.FreeBSD.org> <54AD08E1-588F-4FFC-9F30-5EBF524A7045@gmail.com> <54A443F7.2060700@freebsd.org> To: Alfred Perlstein X-Mailer: Apple Mail (2.1878.6) Cc: Ryan Kois , re@freebsd.org, Claudia Yadathi , Glen Barber , hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 18:46:58 -0000 --Apple-Mail=_2FCC12BF-9EAA-44A8-AA2F-5F9646F10FC5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Dec 31, 2014, at 10:44, Alfred Perlstein wrote: > On 12/31/14 10:34 AM, Garrett Cooper wrote: >> On Dec 31, 2014, at 8:15, Glen Barber wrote: >>=20 >>> On Wed, Dec 31, 2014 at 08:48:01AM -0700, Warren Block wrote: >>>> On Wed, 31 Dec 2014, Glen Barber wrote: >>>>> On Tue, Dec 30, 2014 at 10:04:38PM -0800, Alfred Perlstein wrote: >>>>>>> I think 'ifconfig_DEFAULT=3D"DHCP"' in rc.conf(5) is what you = want. >>>>>> Do we want this by default in all images? (I would vote yes). >>>>>>=20 >>>>> I'd actually argue 'no.' As a sysadmin, I don't want any system = doing >>>>> anything I don't expect it to do, virtual machine or not. >>>> It can have security implications. And I've never tested what = happens when >>>> there is more than one interface. First one wins, probably. >>>>=20 >>>> How about adding it to rc.conf, but commented? >>>>=20 >>> I think this would be the least objectionable solution, with a note = in >>> motd mentioning how to enable networking. >> Why not do what a lot of OSes do and give folks a dialog that says, >>=20 >> =93I saw you haven=92t setup networking =97 do you want to do so = now?=94 >>=20 >> It=92s already in bsdinstall=85 moving it into the boot process = earlier on seems like an acceptable thing to do. >>=20 >> Thanks! >=20 > That is fucking brilliant... seriously. Thanks :) > If you user picks "no" you can just make a sentinal file (that expert = users can make be default if they are rolling their own releases). Yeah, that would be nice. We could also add a timeout of 3-5 seconds or something to the dialog = (that might be possible with some of the changes that dteske has done = with dpv?), so it proceeds on to the login prompt if not prompted so = non-interactive installs still work. Or we could formalize the non-interactive install process, but that = seems like a larger task because it would potentially require some = redesign of bsdinstall. --Apple-Mail=_2FCC12BF-9EAA-44A8-AA2F-5F9646F10FC5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUpESfAAoJEMZr5QU6S73e8CkIAJge3RL7+n2zFvqmdDVpfyYq DrDjFYtrFsE8GCJs8AZudzxdR6GMKabt4CiNiO/hla/AaSz5iKFB2cvx1Vxr+JmO 6RbNlblAKNGFwUIgW5q9bx8592QDWeitOOAcKf6iFgAtPI4dQ+44+/f0MOUCNbBH MXQvnB6QHtQ9UckKi2mRwF0qDhhuAL0BRb7NQsNvOQUjy1QCDUaIORtpMQ9Ax4L0 qvp3hIYy4fRDRoYfHXk04FJ20OPj/jNDjrl2YpD8DQ4bdV/verV5ROeF+fqYupDE 6QZUxb/w0H5tKmXOTJdiZcGjiHx4i88WC7+bwESKUUsegK6SAAk18T/WPkdMU38= =5xo9 -----END PGP SIGNATURE----- --Apple-Mail=_2FCC12BF-9EAA-44A8-AA2F-5F9646F10FC5--