summaryrefslogtreecommitdiff
path: root/README
blob: 7e5cfbf9f9c98f42103d7ee14fe173d97bf28b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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:

* build-essential
* subversion
* fakeroot
* gawk
* gpg

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

Usage
-----
./build.sh [-a|--arch <x86_64|i686>] [-v|--version <version>] [-p|--packages <packages>] [-f|--files] [--help]

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