diff --git a/scripts/boinc-static-frequency-for-niced-loads.sh b/scripts/boinc.static-frequency-for-niced-loads.sh similarity index 100% rename from scripts/boinc-static-frequency-for-niced-loads.sh rename to scripts/boinc.static-frequency-for-niced-loads.sh diff --git a/scripts/decrypt-files-in-repo.sh b/scripts/gpg.decrypt-files-in-repo.sh similarity index 100% rename from scripts/decrypt-files-in-repo.sh rename to scripts/gpg.decrypt-files-in-repo.sh diff --git a/scripts/homebrew.install.bash b/scripts/osx.homebrew.install.bash similarity index 100% rename from scripts/homebrew.install.bash rename to scripts/osx.homebrew.install.bash diff --git a/scripts/osx.xcode-install.zsh b/scripts/osx.xcode.install.zsh similarity index 100% rename from scripts/osx.xcode-install.zsh rename to scripts/osx.xcode.install.zsh diff --git a/scripts/turris-os.create-container.sh b/scripts/turris-os.create-container.sh new file mode 100644 index 0000000..13582d2 --- /dev/null +++ b/scripts/turris-os.create-container.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +lxc-create -n 'alpine' -t 'download' -- -d 'Alpine' -r '3.18' -a 'armv7l' + +uci add dhcp host +uci set dhcp.@host[-1].name='alpine' +uci set dhcp.@host[-1].mac="$(grep 'hwaddr' '/srv/lxc/alpine/config' | sed 's/.*= //')" +uci set dhcp.@host[-1].ip='192.168.111.2' +uci commit 'dhcp' +reload_config +luci-reload diff --git a/scripts/turris-os.start-container-at-boot.sh b/scripts/turris-os.start-container-at-boot.sh new file mode 100644 index 0000000..045b0fc --- /dev/null +++ b/scripts/turris-os.start-container-at-boot.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +cat <