Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
OSBoxes – Virtual Machines for VirtualBox and VMware (osboxes.org)
124 points by 0x4542 on April 22, 2016 | hide | past | favorite | 65 comments


We have no particular reason to trust any of these images though. An image built from a reproducible-build-only distribution (if that exists) would be valuable in this space.


Looking at the about page, this seems to be maintained by some college kid: http://www.osboxes.org/about/

So I'd be tempted to cut the guy some slack and assume that any oversights are from inexperience rather than malice.


Yeah, and the design of the sight also doesn't exactly make me want to trust it either. Not that relying on design is a good security measure.


> An image built from a reproducible-build-only distribution (if that exists)

Yeah, that'd be amazing. Know of any?


Are there any open source Packer build configurations or anything else that can be used to reproduce the base boxes from scratch? I wouldn't usually run a base box that I can't also see/use the automated build scripts for.

For my own boxes (e.g. https://github.com/geerlingguy/packer-ubuntu-1604), I make sure to prominently link to Packer configs licensed under the MIT license (based on Chef's Bento project (https://github.com/chef/bento)).


This is a great idea! Packer script repo?

Also, common repos can include open-builds..


That's really nice. I'll remember to use it whenever I need a linux box.

However, I'm not that interested in a zillion flavors of Linux.

I would be willing to pay for a box which comes with Windows and Visual Studio preinstalled (plus git, cmake, bash, etc):

In other words, an up to date development machine based on WinXP, Vista, 8, X, etc.

The main reason is that it takes hours if not an entire day to install all this stuff and run all the updates required to configure it.

As a Mac user writing cross platform C++, I sometimes need to test my app on various flavors of windows and compile the code on various flavors of compilers.

Keeping 30-50GB VM files ( for different versions of windows ) on my SSD is kind of wasteful, since I only need these boxes once every month or so..

I would easily part with $5 or $10 or even $20 (if it's very urgent) for an up-to-date box like that ..


If it's worth that much money to you, how much of your time would you say?

The reason I ask is that Hashicorp's Packer[1] is awesome at doing things like that.

Personally, I have an automated Packer build that spins up Windows 8.1 and Windows 10, provisions it and installs all of the necessary software, and then preps it for Windows Deployment Services. I originally based the work off of packer-windows[2] but ended up re-rolling most of it again from scratch.

If you don't mind spending roughly a day or two figuring it out, then it's well worth it!

[1] https://www.packer.io/ [2] https://github.com/joefitzgerald/packer-windows


Yes, packer looks good. But it's a bit overkill for my use case and doesn't really solve the "time" issue (or does it?).

Somebody could use packer and publish the artifacts on a website, were I can download the desired image and have it running in 5 minutes. That's what I'd pay for.


Once you sink the time into setup, it really takes care of itself.

You could basically schedule/cron/whatever the job to build once a month/week/day on your machine and it will always dump the up-to-date virtual machine in the location you choose.

I should also point out that Packer is the program that they use to create Vagrant boxes.


Why not a VM hosted in Azure? Microsoft publishes VMs into the Azure marketplace with Visual Studio pre-installed.

Scott Hanselman has an older blog post [0] that describes how he does it with a Surface 2. With an official Remote Desktop client for Macs, it should be just as easy. As a bonus, you can run it on an A11 Standard (16 cores & 112 GB of memory), although I wouldn't want to leave it up for a month ($1200).

[0] http://www.hanselman.com/blog/UsingASurface2RTARMToGetActual...


If you're the sort of person for whom cloud hosting works, that will work for you. I personally like things that run (a) when the net is off and (b) if the vendor decides they don't like me, but I accept that I'm a dinosaur.

But the main reason for wanting things local, for me, is that the sole reason I have a Windows VM is to plug various devices into it for which there's no software for OS X or Linux. Yes, there are hacky methods for some USB use cases, but I don't think having the logic controlling my laser cutter executing 12 hops away is going to go so well.


And as a non-mac user I would really appreciate a OS X VM. I know it's possible to build one but it's a lot of work.


This (https://github.com/geerlingguy/mac-osx-virtualbox-vm) works if you build it on a Mac... But yeah, not technically allowed to run on Windows, and you're also not allowed to host a prebuilt box for others according to the license with OS X.



>And as a non-mac user I would really appreciate a OS X VM.

AFAIK that is a no-no according to the EULA, at least that was the case a couple of years ago.


It's still the case, the VM has to run on Apple hardware.


It might LEGALLY have to run on Apple hardware, but it doesn't TECHNICALLY have to run on Apple hardware.

If you live in a locality where the Apple licensing terms binding VMs to only run on Apple hardware are not valid / enforceable, you can check this out - https://www.youtube.com/watch?v=wodqGvug6e0


I got some of the way there with https://github.com/xdissent/ievms and https://github.com/xdissent/iectrl but I'd really like a way to provision things on to the VM once it's up and running. Windows seems to suffer from a historical lack of attention to automated provisioning.


Sysprep is Microsoft's System Preparation Tool for Microsoft Windows operating system deployment. https://en.wikipedia.org/wiki/Sysprep


Check out WinRM. You can manage every feature in 2012R2 through a remote Powershell session. Installing and uninstalling programs can be done this way.


Chef, Ansible, and I think even Puppet have varying levels of support for Windows provisioning.


Seriously. Especially now that VS is free-ish, this could be done much more easily (probably).


How many lawsuits would Microsoft face if they bundled VS in their OS, the way IE is bundled? Will they be accused of holding back developers because Eclipse isn't bundled?


For Windows devs looking for help setting up a new machine or a test VM, this can be automated using BoxStarter:

http://boxstarter.org/WebLauncher


What about doing it in the cloud? E.g. AWS instances which you create and only spin up when you need them...


Just to add another opinion:

(1) I didn't notice anything particularly horrible about the Web site. If I manage to find stuff I need and don't have to wade through too much garbage, and no attempt is made to trick or trap or scam me, I feel I'm getting what I paid for and am happy enough.

(2) I pulled a Linux off the site, installed it in VirtualBox, and it ran, smoothly, with no problem. Other offerings from other sites may have more/better features, but sometimes "good enough" is good enough.

(3) The one thing I missed, here and elsewhere, is a Linux with built-in VM Extensions (spiffy display drivers, better mouse / cut&paste / file transfer support).


Nothing makes me reach for my back button quite as quickly as a full-screen "9001 PPL LIKEZ US ON TEH FACEBOOK PLEASE DO IT TOO" modal.


To be honest, the whole site is a homage to bad design clichés. It took me a great deal more patience to navigate around than I'd normally gift a website. But then I suspect this is aimed more at home users rather the enterprise, which might explain some of the gaudy gimmicks.


its just a wordpress theme... http://newsmartwave.net/wordpress/porto


Wordpress theme or not, it was still chosen over and above better designed themes in that collection. Plus some of the most distracting elements on that page are stuff they've added which wasn't in the theme's demo:

* The main carousel images background is different from the background of the carousel itself. And since the images are quite small, it means the top section of the landing page looks disjoined when the browser window is sized to larger dimensions.

* The main carousel has lots of sunken bevels which makes the logos and text harder to identify and read. I'm not generally a fan of flat design, but things like that are meant to be instantly identifiable; so they should either be flat, or have a larger unified border around them (badly explained, but something like how the social icons are often bevelled, or how Apple shapes iOS apps).

* In the main title, "OSBoxes" has a different vertical alignment to the rest of the text.

* In the main title, "VMWare" and "Virtualbox" scroll in a vertical "carousel", which is very distracting.

* In the main title, the aforementioned vertical carousel has a blue background which is jarring against the rest of the white document. To be honest, between this and the previous two points, the dyslexic in me took a couple of attempts to parse the title. Which somewhat undermines the point of a title.

* Downloading a VM image requires clicking the OS to reveal a hidden dropdown, then clicking the download link. Given the amount of whitespace in that list, they could have just had download icons in the list and saved users a pointless click. Given you only need a download icon and a www icon (icons people are already familiar with), you could still have a clean usable design.

Anyway, I didn't mean this to slate the project based on the site. In fact normally I wouldn't be so critical of someone else's site. Perhaps it's just my dyslexia, or even just me specifically, but I really struggled to read through this site in ways that I don't on most other websites.


Nostalgia time. In 2005 the university of Bologna set up OSzoo.org: A repository of dozens of ready-to-run VMs for all majors free OSs: http://www.aboutus.com/Oszoo.org https://web.archive.org/web/20081206082548/http://www.oszoo....


This website just looks like spam. Is it offering anything that vagrantbox.es doesn't?


I'm surprised vagrantbox.es is still around; Hashicorp had been offering box discovery themselves for a while now.

https://atlas.hashicorp.com/boxes/search


Downloading untrusted images off of a site that you've never heard of before. What could possibly go wrong?


"Like us on FB" popup. Yikes. Isn't uBlock supposed to block this stuff?


Also, animate the shit out of the visitors.

puking while trying to hit the back button


"100000+ happy users […] can't be wrong", right?!


Did you not see how many XP they have? Look at that XP.


I like how the JS was slow to load and all the numbers said zero for quite a while. Zero users, zero experience but download now!


My first thought, too. The contact page and even the privacy policy is devoid of identifying information.

And the faq (aside from a zero-content privacy comment) doesn't even mention malware concerns, which is a pretty weird elephant to ignore if you're on the up and up.


Is it really that hard to download an ISO and mount it and do a quick 5 minute install and immediately make a clone of it? Then you always have a handy fresh installation. It would literally take a few minutes longer than using this untrusted website and the result would be exactly the same.


Do you want to get pwned? Because this is how you get pwned.


"No NSA involvement. We promise."


over http!


Or just start from scratch with http://netboot.xyz.


I use OSBoxes a lot when I want to quickly spin up a Linux distro I don't normally use. I really wish they'd clean up the design of their website though...


Highly recommended. https://github.com/boxcutter


What I really want is a good repository for ready to go 'application appliances' - something pretty much production ready - and in a format that I can deploy to a VPS as well as locally in a VM. I know there's a few of these in existence but the selection always seemed a bit patchy.

Can anyone point me towards a good source?


Vagrant or virt-builder, I guess.

With virt-builder we are trying to persuade Linux distros to start publishing high quality metadata about their cloud and VM images. Then virt-builder will just pull down those images automatically. It's been a very long and slow process. So far we can only support Ubuntu, OpenSuSE and (coming shortly) CentOS.

Even though Red Hat sponsors the project, we've still not managed to get either Fedora or RHEL to publish metadata, after 2+ years of trying. But I believe this method of publishing metadata is the way to make the whole process sustainable long term.

Edit: I should say I didn't read your original posting closely enough. It sounds as if you're looking for fully formed applications (eg. PostgreSQL or whatever) in appliances. Personally I wouldn't use an existing appliance like that for trust reasons (also the reason I'm not over-keen on half-baked Docker repositories), but with virt-builder you can do something like:

    $ virt-builder centos-7.2 --install postgresql-server
which will provision a PostgreSQL VM on your local machine in a minute or two. (And yes, it does work as non-root)


> It sounds as if you're looking for fully formed applications (eg. PostgreSQL or whatever)

I'd like to see a good opinionated base stack for say Django (i.e. Postgres, uwsgi and redis) as well as fully fledged installs for stuff like Sentry, Gitlab, Zulip and similar apps.

We've of course built our own Django deploy using Ansible but I'd like to see some community efforts that are shared and get reviewed, critiqued etc.


There's Bitnami, but I frankly never used their 'appliances' on a long term basis.


I suppose this is an argument for 'recipe' over 'image'. You get to see how it was built and the chance to easily combine things from different recipes.

The downside is everything then is fragmented depending on the builder you choose (ansible vs whatever).


Take a look at https://www.turnkeylinux.org/ - their images are available as VMDK, OpenStack, Xen, Docker, among others. Their images are all hackable too.


If you are looking for full blown apps, there is cloudron.io. The app selection is a bit lacking (for example, no zulip).


Docker Hub. That is all.


is this spam? the page will try to you force you "like" or "share" their page on Facebook


What's the benefit of OSBoxes in comparison to Vagrant and others?


I have no clue what the advantages of OSBoxes are but I know what like about Vagrant: being able to see how the box is provisioned

Rather than having a VM be some magical preconfigured black box, I can peak at the Vagrantfile to see all the steps to convert a stock Linux host into a database/cache/MQ/xyz. From a security perspective it's much nicer too as one can reduce the level of trust to: 1) Do I trust the root box? 2) Do I trust the subsequent commands?


Note that unless you rebuild the .box yourself, you probably still can't actually trust it any more than one of these. Building a .box with a fake Vagrantfile inside is not really difficult.


obviously, he said so himself as well...

but creating basic baseboxes is pretty easy with hashicorps packer and the bento packerfiles repo on github.


I've used the site in the past when trying to preview distros. Website design aside, it's not bad.

I totally understand the security risk, but really, as long as you're only spending a few hours with the VM to see what the distro is like, exactly how much damage can you do in a VM anyway?

I was thrilled to try FreeBSD with KDE pre-installed to play with, since I had tried previously to manually install a desktop environment on FreeBSD and borked it.


Safari on a very recent Mac, sitting in a café.

1. Click link

2. See blue spinner on white background

3. Think, "Hmm ... okay."

4. Wait 5 seconds

5. See a popup box asking me to "Like" this on FB

6. Stare in bewilderment, as I still haven't actually seen any content on the page

7. Click the X button to dismiss the Like spam

8. Back to staring at that blue spinner

9. Wait a couple more seconds, still no content

10. Close tab


What exactly does this offer over Vagrant or better yet having a single Docker VM and using containers??


These have my backdoors preinstalled.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: