kaorimatz / packer-templates

Packer templates for Vagrant base boxes
MIT License
491 stars 244 forks source link

Install the default OpenBSD sets #5

Open WhyNotHugo opened 8 years ago

WhyNotHugo commented 8 years ago

Rather than arbitrarily exclude some sets, install all the base system sets. In my case, my servers need some libraries from the X sets (which is quite common if you have anything that interfaces with graphics of fonts, see here).

The FAQ also mentions that it's better to install all of them unless you really know what you're doing. A generic base VM should really not exclude these, since there's no benefit and may lead to hard-to-track-down issues.

kaorimatz commented 8 years ago

Hi @hobarrera, thank you for sending the PR. I understand that x*.tgz is needed in some non-graphical environments, but I'd rather prefer excluding x sets to keep the image as minimal as possible. I checked the box size with the different file sets:

Installing all of the x sets will increase the box size by about 67%.

Do you think it's not good to just install the required file sets after installation with the command like as bellow?

ftp -Vmo - ftp://ftp.openbsd.org/pub/OpenBSD/5.9/amd64/xbase59.tgz | sudo tar -zxphf - -C /
WhyNotHugo commented 7 years ago

I've jumped back to this issue a few times over the last year, unsure of what I think about the response -- it makes sense, but I'm not entirely convinced -- simply because it means that the base box isn't the same as a base recommended OpenBSD installation.

As a compromise; would you mind including the above info in the docs, and closing this?