Automate OpenWRT/LEDE firmware generation with Ansible

2nd December 2016 in Coding Tags: ansible, lede, open-source, openwisp, openwrt

Jump straight to the code: ansible-openwisp2-imagegenerator.

If you are using OpenWRT, LEDE or OpenWISP2, chances are high you may be compiling different images for different organizations (different clients, different no-profit organizations, different community networks) and different flavours (full-featured, minimal, mesh-network specific, ecc).

If you are doing so, you may have incurred in the problem of keeping track of the configuration of the various images you create over time.

For configuration in this case I mean which packages are included, which architectures are supported, which customizations are enabled (eg: BusyBox settings) and so on.

I have this problem and to cope with it I wrote an ansible role that is specific for OpenWISP2, but I paid attention to make it enough flexible so it can be reused in different contexts where automating the generation of firmwares based on OpenWRT or LEDE via ansible makes sense.

Here's the repository: ansible-openwisp2-imagegenerator.

By keeping the configuration of the firmware generation in YAML files, it's easier to track down the how a specific image was generated, builds are versioned and the process is highly configurable.

It is also easy to add new clients/organizations to your build system, just add the details in the YAML, run your builds again and you are ready to go.



Leave your comment


Let's be social

Popular posts

Latest Comments

  1. I can make more customers for your business without ripping your pocket I Can Contact for more details? David

    By Davidwrice in How to speed up tests with Django and PostgreSQL

  2. Adult blog with daily updates daily quotes of wisdom what antonyms and synonyms are underwear man sequined skirt free porno of girls herbs estrogen hardsteel chastity wife cheat toronto breast implants gallery of contemporary art mens sexo

    By suzannetu2 in OpenWISP at IETF Bangkok

  3. I got very good results with this, thanks for sharing.

    By Yasir Atabani in How to speed up tests with Django and PostgreSQL

  4. Hi Amad, for any question regarding OpenWISP, use one of the support channels:

    By Federico Capoano in How to install OpenWISP

  5. Sir please guid , i have install the ansible-openwisp2 , now how to add the access points . What is the next procedure . Please help.

    By Ahmad in How to install OpenWISP

Popular Tags

battlemesh censorship creativity criptography django event fosdem google-summer-of-code ibiza inspiration javascript jquery linux nemesisdesign netjson ninux nodeshot open-source openwisp openwrt performance photo programming python security staticgenerator talk upload wifi wireless-community