-
Notifications
You must be signed in to change notification settings - Fork 7
A simplified version of lxd-openwrt
License
DazzyWalkman/lxd-openwrt-simplified
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
lxd-openwrt-simplified =========== Scripts for building LXD/LXC images from OpenWrt rootfs tarballs. This is a simplified version of https://github.com/mikma/lxd-openwrt. This version assumes the user has already got an OpenWrt 22.03 or later rootfs tarball containing ALL essential packages, e.g. by buildroot or by image builder. What it will do: 1. unpack the tarball provided by the user. 2. build metadata and inject container-specific files/settings. 3. repack the tarball according to lxc/lxd requirements. Requirements ------------ It's recommended you use Debian or Ubuntu on the build system. * fakeroot is needed. Or user can config the script to use sudo. Configuration ------------- Refer to the top of build_cust.sh. And users may have to monitor the entropy available, as this script will disable the urngd service of the OpenWrt in favor of EGD on host, with the assumption that the OpenWrt instance shares entropy with the host. Usage ----- ./build_cust.sh <rootfs tarball> <lxd|plain> Example ------- ./build_cust.sh openwrt-snapshot-r13592-x86-64-generic-rootfs.tar.gz plain You may be also interested in my wrapper scripts for running OpenWrt as lxc containers in Proxmox VE: https://github.com/DazzyWalkman/oplxc4pve
About
A simplified version of lxd-openwrt
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published