On September 24, 2014 6:09:04 PM CEST, openda...@hushmail.com wrote:
>> Indeed, the installer only creates that if you install from a
>mirror.  Apart from that, as someone else pointed out, which mirror
>should one  choose?
>
>Cool, I didn't know that.
>
>Then, in the event that someone installed via an ISO or some
>pre-defined VM (ie. a DigitalOcean droplets) -- how about a one-time
>script upon first root login to ask for such info?
>
>  You do not have a `PKG_PATH` set for `pkg_add`. Would you like us to
>set it for you?  (Y/n) y
>
>  Choose your nearest mirror:
>
>  1. Continent
>  2. Whatever
>  3. ...
>
>  There is currently no ports collection in `/usr/ports`. Would you
>like us to get it for you? (Y/n)

I can't speak for others, but I'd be terribly annoyed by this.

Also, the script isn't trivial. Feel free to give it a go, share and use it for 
your own sake, but I'd be surprised to see it go in.

/Alexander

>
>Thanks!
>
>O.D.
>
>On 24. september 2014 at 1:05 PM, "Alexander Hall"  wrote:On September
>24, 2014 12:44:14 PM CEST, openda...@hushmail.com wrote:
>>> Because /etc/pkg.conf ?
>>
>>Sorry, no such file over here.
>
>Indeed, the installer only creates that if you install from a mirror.
>Apart from that, as someone else pointed out, which mirror should one
>choose?
>
>/Alexander
>
>>
>>O.D.
>>
>>On 23. september 2014 at 1:47 PM, "Alexander Hall"  wrote:On
>September
>>23, 2014 3:00:41 PM CEST, openda...@hushmail.com wrote:
>>>Hi,
>>>
>>>Expanding on the whole
>>>http://en.wikipedia.org/wiki/Convention_over_configuration thing --
>>>why aren't there any sane PKG_PATH defaults? Ie.:
>>>
>>>release=$(uname -r)
>>>architecture=$(uname -p)
>>>
>>>export
>>>PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/${release}/packages/${architecture}/
>>
>>Because /etc/pkg.conf ?
>>
>>/Alexander
>>
>>>
>>>Thanks!
>>>
>>>O.D.

Reply via email to