On 09/24/14 23:09, Ville Valkonen wrote:
Out of curiosity, what's wrong with the one that installer uses?
Nothing, however the installer only cares about a mirror if you actually
install from one of them. If you install from e.g. CD, you don't have a
selected mirror.
If you do install or upgrade (I'm pretty sure) from a mirror,
/etc/pkg.conf will be updated accordingly.
/Alexander
--
Regards,
Ville
On 24 September 2014 19:34, Alexander Hall <alexan...@beard.se> wrote:
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.