wyvernfly / lxd-openwrt

Scripts for building LXD images from OpenWrt rootfs tarballs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lxd-openwrt
===========

Scripts for building LXD images from OpenWrt rootfs tarballs. The OpenWrt SDK is used to build a patched procd package.

Requirements
------------
It's recommended you use Debian or Ubuntu on the build system. The following additional packages are required on Ubuntu 18.04:

* fakeroot

Configuration
-------------
Refer to the top of build.sh.

Usage
-----
./build.sh [-a|--arch x86_64|i686|aarch64] [-v|--version <version>] [-p|--packages <packages>] [-f|--files] [-t|--type lxd|plain] [-s|--super fakeroot|sudo] [--help]

Example
-------
./build.sh
lxc image import bin/openwrt-*-lxd.tar.gz --alias openwrt
lxc launch openwrt router
lxc exec router passwd root

About

Scripts for building LXD images from OpenWrt rootfs tarballs.

License:MIT License


Languages

Language:Shell 63.1%Language:Python 34.2%Language:Dockerfile 2.6%Language:Smarty 0.1%