Step 1 : Create toolbox container for Syncthing
toolbox create -d ubuntu --release 24.04 -c syncthing
toolbox enter syncthing
~/bin/run-container-playbooks.sh
exitStep 2 : Create systemctl service
Step 1 : Create toolbox container for Syncthing
toolbox create -d ubuntu --release 24.04 -c syncthing
toolbox enter syncthing
~/bin/run-container-playbooks.sh
exitStep 2 : Create systemctl service
| #!/usr/bin/env bash | |
| # Exit immediately if a command exits with a non-zero status. | |
| set -eo pipefail | |
| # --- 1. Verify we are inside a Toolbox container --- | |
| echo "▶️ Checking environment..." | |
| if [ ! -f /run/.containerenv ]; then | |
| echo "❌ Error: This script must be run inside a Toolbox container." >&2 | |
| exit 1 |
Step 1 : Create toolbox container for Syncthing
toolbox create -d ubuntu --release 24.04 -c syncthing
toolbox enter syncthing
~/bin/run-container-playbooks.sh
exitStep 2 : Create systemctl service
References
Step 1 : Install dependencies
sudo rpm-ostree install virt-manager qemu-kvm libvirt-daemon-kvm virt-top virt-install virt-viewer libvirt-daemon-config-networkStep 2 : Reboot
| #!/bin/bash | |
| # | |
| # Script to update all packages in all available Toolbox containers. | |
| # It automatically detects the distro (Fedora, Debian, Ubuntu, Arch, etc.) | |
| # and uses the correct package manager. | |
| # Exit immediately if a command exits with a non-zero status. | |
| set -e | |
| echo "🔍 Starting update process for all Toolbox containers..." |
References:
Step 1: Create the folder /etc/systemd/resolved.conf.d
Step 2: Create a file /etc/systemd/resolved.conf.d/dnssec.conf with the following content
[Resolve]
DNSSEC=true
References:
Check if the following command runs,
sudo /usr/bin/fstrim --listed-in /etc/fstab:/proc/self/mountinfo --verbose| #!/usr/bin/env sh | |
| cd /tmp | |
| echo https://github.com/neovim/neovim/releases/download/stable/nvim.appimage | |
| curl -OL https://github.com/neovim/neovim/releases/download/stable/nvim.appimage | |
| chmod u+x nvim.appimage | |
| ./nvim.appimage --appimage-extract | |
| mkdir -p ~/bin/nvim | |
| mv /tmp/squashfs-root ~/bin/nvim | |
| rm nvim.appimage |