Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
lxc_openwrt_host [2021/09/22 07:39] – [Setup on the OpenWRT host] add note about PR#16684 darksky2lxc_openwrt_host [2021/09/22 08:05] – [Setup on the OpenWRT host] darksky2
Line 24: Line 24:
  
 Install the core lxc packages: Install the core lxc packages:
-<code>opkg install lxc-start lxc-stop lxc-create getopt lxc-destroy lxc-config</code>+<code>opkg install lxc-start lxc-stop lxc-create lxc-attach lxc-destroy lxc-config lxc-ls getopt</code>
  
-FIXME: Note that getopt should be a package dependency, once [[https://github.com/openwrt/packages/issues/16684|#16684]] is fixed, remove it from the list above.+FIXME: Note that getopt should be a package dependency, see: [[https://github.com/openwrt/packages/issues/16684|#16684]] is fixed.
  
 Additional packages exist that can add functionality but that aren't strictly required.  Find them with: Additional packages exist that can add functionality but that aren't strictly required.  Find them with:
-<code>opkg update && opkg list | grep lxc</code>+<code>opkg list | grep lxc</code>
  
 FIXME: Note that until [[https://github.com/openwrt/packages/pull/16660|PR#16660]] is merged, users of 21.02 will have to complete this extra step.  Users of snapshot builds newer than 20-Sep-2021 can skip this next step. FIXME: Note that until [[https://github.com/openwrt/packages/pull/16660|PR#16660]] is merged, users of 21.02 will have to complete this extra step.  Users of snapshot builds newer than 20-Sep-2021 can skip this next step.
Line 37: Line 37:
  
 Optionally check the kernel config to see if anything required is missing: Optionally check the kernel config to see if anything required is missing:
-<code>root@ultra:~# opkg update && opkg install lxc-checkconfig+<code>root@ultra:~# opkg install lxc-checkconfig
 # lxc-checkconfig  # lxc-checkconfig 
 LXC version 4.0.5 LXC version 4.0.5
Line 186: Line 186:
  
 ==== Auto start the container on OpenWRT host ==== ==== Auto start the container on OpenWRT host ====
-<code>uci show lxc-auto+<code>opkg install lxc-auto lxc-autostart 
 +uci show lxc-auto
 uci add lxc-auto container uci add lxc-auto container
 uci set lxc-auto.@container[-1].name=myLMS uci set lxc-auto.@container[-1].name=myLMS
  • Last modified: 2024/11/22 12:04
  • by levitatingbusinessman