Coder Social home page Coder Social logo

arch-ansible's Introduction

Arch-Ansible: an Ansible playbook to install Arch Linux

Stars License Link to the docs

Arch-Ansible is a playbook designed to install Arch Linux on a target machine. It was conceived to ease the preparation of virtual machines, but it can also be used to install on bare metal.

The simplest way to get started is to provision a VM with Arch Linux to try the playbook out. Both VirtualBox and QEMU (possibly via libvirt) are supported, but the examples below use VirtualBox because it has been supported since the start, so the playbook is well-tested against it.

First, change some default settings by writing the following YAML snippet to ansible/group_vars/all/50-user-settings.yaml and customize it to suit your regional settings:

# Set your timezone, locale and keymap
locale_timezone: Europe/Rome
locale_locale: it_IT.UTF-8
locale_keymap: it
users_root_info:
    # Choose a root password
    password: "abcd$1234_root"
users_info:
  # Change "manu" to your username
  manu:
    # Choose a password for your user.
    # You'll be able to use sudo.
    password: "abcd$1234_manu"
    is_admin: true

Now, if you want Packer to build a brand new VM image, type:

cd packer
packer build -only=virtualbox-iso packer-template.json

or, if you prefer to spin up a turn-key Vagrant machine, go with:

cd vagrant
# A reload is required after provisioning
vagrant up --provider=virtualbox && vagrant reload

There's a good deal of things that can be customized: DE themes, preinstalled utilities, screensaver behaviour and more. Have a look at the documentation for more information. The side projects section links to specific documentation about integration with Vagrant and Packer.

If you find this project helpful, why not showing some โ™ฅ by giving it a star on GitHub?

arch-ansible's People

Contributors

binary-manu 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.