diff --git a/docs/linux/fedora-incus.md b/docs/linux/fedora-incus.md new file mode 100644 index 0000000..f3dc527 --- /dev/null +++ b/docs/linux/fedora-incus.md @@ -0,0 +1,20 @@ + +# Fedora incus + +## Create +```bash +incus launch images:fedora/44 fc-test -d eth0,hwaddr=00:16:3e:00:09:66 -d eth0,host_name=veth66 +``` + +## Enter +```bash +incus shell cont-name +``` + +## Install packages +```bash +dnf install bc git jq mc openssh-server tmux net-tools cmp-profile +systemctl disable --now sshd.socket && systemctl enable --now sshd + +``` + diff --git a/docs/linux/fedora-upgrade.md b/docs/linux/fedora-upgrade.md index 22b3550..b494469 100644 --- a/docs/linux/fedora-upgrade.md +++ b/docs/linux/fedora-upgrade.md @@ -35,7 +35,6 @@ dnf repoquery --duplicates dnf remove --duplicates # xz2 - dnf list --extras dnf remove $(dnf repoquery --extras --exclude=kernel,kernel-\*,kmod-\*) @@ -43,8 +42,8 @@ dnf remove $(dnf repoquery --extras --exclude=kernel,kernel-\*,kmod-\*) ``` ``` -sudo rm /boot/*rescue* -sudo kernel-install add "$(uname -r)" "/lib/modules/$(uname -r)/vmlinuz" +rm /boot/*rescue* +kernel-install add "$(uname -r)" "/lib/modules/$(uname -r)/vmlinuz" -sudo dnf install dracut-config-rescue +dnf install dracut-config-rescue ```