From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 31 18:43:15 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FAA4B92; Wed, 31 Dec 2014 18:43:15 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 67DED3FD6; Wed, 31 Dec 2014 18:43:15 +0000 (UTC) Received: from AlfredMacbookAir.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 79C06341F854; Wed, 31 Dec 2014 10:43:14 -0800 (PST) Message-ID: <54A443F7.2060700@freebsd.org> Date: Wed, 31 Dec 2014 10:44:07 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Garrett Cooper , Glen Barber Subject: Re: How to make a FreeBSD vm in virtualbox. 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> In-Reply-To: <54AD08E1-588F-4FFC-9F30-5EBF524A7045@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: Ryan Kois , hackers@freebsd.org, re@freebsd.org, Claudia Yadathi 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:43:15 -0000 On 12/31/14 10:34 AM, Garrett Cooper wrote: > On Dec 31, 2014, at 8:15, Glen Barber wrote: > >> 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="DHCP"' in rc.conf(5) is what you want. >>>>> Do we want this by default in all images? (I would vote yes). >>>>> >>>> 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. >>> >>> How about adding it to rc.conf, but commented? >>> >> 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, > > “I saw you haven’t setup networking — do you want to do so now?” > > It’s already in bsdinstall… moving it into the boot process earlier on seems like an acceptable thing to do. > > Thanks! That is fucking brilliant... seriously. 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). -Alfred