Skip to content

Instantly share code, notes, and snippets.

@vincejv
Last active November 13, 2023 13:08
Show Gist options
  • Save vincejv/11c6f1c3e320033ab572479ff930fe58 to your computer and use it in GitHub Desktop.
Save vincejv/11c6f1c3e320033ab572479ff930fe58 to your computer and use it in GitHub Desktop.
LXC OpenWRT
lxc-create --name ubuntu-jammy --template download -- --dist ubuntu --release jammy --arch amd64
lxc-start -n ubuntu-jammy # start
lxc-stop -n ubuntu-jammy # stop
lxc-ls -f # list
lxc-attach -n ubuntu-jammy
# usermods
adduser vince
apt install -y sudo
addgroup vince sudo
apt install ssh -y
# kmod packages
sd opkg list-installed | cut -f 1 -d ' ' | grep kmod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment