Last active
November 13, 2023 13:08
-
-
Save vincejv/11c6f1c3e320033ab572479ff930fe58 to your computer and use it in GitHub Desktop.
LXC OpenWRT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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