Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

foobarlab/funtoo-server-packer

Repository files navigation

Funtoo Server Vagrant box

This repository is not maintained anymore as of July 2020!

This is a basic server-flavored core Funtoo Linux that is packaged into a Vagrant box file. Currently only a VirtualBox version is provided. It is based on the Funtoo Core Vagrant box and can be used for bootstrapping your own box.

What's included?

  • Minimal Funtoo Linux 1.3 installation with server flavor
  • Architecture: x86-64bit, generic_64
  • 20 GB dynamic sized HDD image (ext4)
  • Timezone: UTC
  • NAT Networking using DHCP (virtio)
  • Vagrant user vagrant with password vagrant (can get superuser via sudo without password), additionally using the default SSH authorized keys provided by Vagrant (see https://github.com/hashicorp/vagrant/tree/master/keys)
  • Kernel and GCC taken from core box
  • List of additional installed software:
    • Services: rsyslog for logging
    • spectre-meltdown-checker for mitigation detection
    • ansible for automation tasks
    • Plus any additional software installed in the core box

Download pre-build images

Get the latest build from Vagrant Cloud: foobarlab/funtoo-server

Build your own using Packer

Preparation

Build a fresh Virtualbox box

  • Run ./build.sh

Quick test the box file

  • Run ./test.sh

Upload the box to Vagrant Cloud (experimental)

  • Run ./upload.sh

Regular use cases

Initialize a fresh box (initial state, any modifications are lost)

  • Run ./init.sh

Power on the box (keeping previous state)

  • Run ./startup.sh

Special use cases

Show current build config

  • Run ./config.sh

Cleanup build environment (poweroff all Vagrant and VirtualBox machines)

  • Run ./clean_env.sh

Generate Vagrant Cloud API Token

  • Run ./vagrant_cloud_token.sh

Keep only a maximum number of boxes in Vagrant Cloud (experimental)

  • Run ./clean_cloud.sh

Feedback welcome

Please create an issue.