Code Monkey home page Code Monkey logo

ploybsd's Introduction

PloyBSD

PloyBSD is a NanoBSD based FreeBSD distribution pre-configured to act as a host for bsdploy.

Building PloyBSD

PloyBSD uses combines two existing approaches, namely mfsBSD and nanobsd by using the latter to assemble a bootable image using binary installation packages provided by the former. The end result of which is a disk image that can be

  • used to boot a virtual machine
  • can be written onto a USB stick or disk partition to boot an actual machine

Bootstrapping the build environment

Building PloyBSD represents a "chicken and egg" situation. To this end we have created an Ansible role that configures a FreeBSD host as a suitable build platform along with a ploy configuration that creates a vanilla FreeBSD 10.1 VirtualBox instance.

To use it, first download the mfsBSD installation medium at http://mfsbsd.vx.sk (use the so-called special edition because it contains the installation packages). Make sure you end up with an image named ~/Downloads/mfsbsd-se-10.1-RELEASE-amd64.iso.

Then:

ploy start nanobuild-vbox
ploy bootstrap
ploy configure nanobuild

Fetching sources

The easiest way to obtain nanobsd itself is to download the FreeBSD sources, because it's part of the official tools and while it's a bit overkill to download the entire sources, it's the easiest way to ensure that your nanobsd edition matches your system.

In this playbook we download the corrsponding 10.1 release sources like so:

ploy ssh nanobuild

root@nanobuild:~ svnup release10

Building

Now you can commence with building:

root@nanobuild:~ cd /FreeBSD
root@nanobuild:/FreeBSD # sh release10/src/tools/tools/nanobsd/nanobsd.sh -vc ploybsd.conf

ploybsd's People

Contributors

tomster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.