From 970771112f680dd669298a77cac536cf182269f6 Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Fri, 24 Nov 2023 21:38:29 +0100 Subject: [PATCH] Rename homeserver to home --- {homeserver => home}/etc/containers/containers.conf | 0 {homeserver => home}/etc/containers/systemd/gitea.container | 0 {homeserver => home}/etc/containers/systemd/gitea.volume | 0 {homeserver => home}/etc/containers/systemd/hostapd.container | 0 {homeserver => home}/etc/containers/systemd/monero.container | 0 {homeserver => home}/etc/containers/systemd/monero.network | 0 {homeserver => home}/etc/containers/systemd/monero.volume | 0 {homeserver => home}/etc/containers/systemd/nginx.container | 0 {homeserver => home}/etc/containers/systemd/nginx.network | 0 .../etc/containers/systemd/postgresql.container | 0 {homeserver => home}/etc/containers/systemd/postgresql.volume | 0 {homeserver => home}/etc/containers/systemd/synapse.container | 0 {homeserver => home}/etc/containers/systemd/synapse.volume | 0 .../etc/containers/systemd/users/1500/act-runner.container | 0 .../etc/containers/systemd/users/1500/act-runner.volume | 0 .../containers/systemd/users/1500/podman-container.container | 0 .../etc/containers/systemd/users/1500/podman.volume | 0 .../etc/containers/systemd/vaultwarden.container | 0 {homeserver => home}/etc/containers/systemd/vaultwarden.volume | 0 {homeserver => home}/etc/hostname | 0 {homeserver => home}/etc/sysconfig/nftables.conf | 0 {homeserver => home}/etc/systemd/network/external.network | 0 {homeserver => home}/etc/systemd/network/internal.network | 0 {homeserver => home}/etc/systemd/network/untrusted.network | 0 {homeserver => home}/etc/systemd/network/wifi.network | 0 {homeserver => home}/etc/systemd/resolved.conf | 0 {homeserver => home}/etc/systemd/system/reverse-tunnel.service | 0 .../system/systemd-networkd-wait-online.service.d/override.conf | 0 {homeserver => home}/etc/tmpfiles.d/home.conf | 0 {homeserver => home}/etc/zincati/config.d/99-config.toml | 0 {homeserver => home}/var/lib/systemd/linger/act-runner | 0 ignition/{homeserver.bu => home.bu} | 0 setup-homeserver.sh => setup-home.sh | 2 +- setup.sh | 2 +- 34 files changed, 2 insertions(+), 2 deletions(-) rename {homeserver => home}/etc/containers/containers.conf (100%) rename {homeserver => home}/etc/containers/systemd/gitea.container (100%) rename {homeserver => home}/etc/containers/systemd/gitea.volume (100%) rename {homeserver => home}/etc/containers/systemd/hostapd.container (100%) rename {homeserver => home}/etc/containers/systemd/monero.container (100%) rename {homeserver => home}/etc/containers/systemd/monero.network (100%) rename {homeserver => home}/etc/containers/systemd/monero.volume (100%) rename {homeserver => home}/etc/containers/systemd/nginx.container (100%) rename {homeserver => home}/etc/containers/systemd/nginx.network (100%) rename {homeserver => home}/etc/containers/systemd/postgresql.container (100%) rename {homeserver => home}/etc/containers/systemd/postgresql.volume (100%) rename {homeserver => home}/etc/containers/systemd/synapse.container (100%) rename {homeserver => home}/etc/containers/systemd/synapse.volume (100%) rename {homeserver => home}/etc/containers/systemd/users/1500/act-runner.container (100%) rename {homeserver => home}/etc/containers/systemd/users/1500/act-runner.volume (100%) rename {homeserver => home}/etc/containers/systemd/users/1500/podman-container.container (100%) rename {homeserver => home}/etc/containers/systemd/users/1500/podman.volume (100%) rename {homeserver => home}/etc/containers/systemd/vaultwarden.container (100%) rename {homeserver => home}/etc/containers/systemd/vaultwarden.volume (100%) rename {homeserver => home}/etc/hostname (100%) rename {homeserver => home}/etc/sysconfig/nftables.conf (100%) rename {homeserver => home}/etc/systemd/network/external.network (100%) rename {homeserver => home}/etc/systemd/network/internal.network (100%) rename {homeserver => home}/etc/systemd/network/untrusted.network (100%) rename {homeserver => home}/etc/systemd/network/wifi.network (100%) rename {homeserver => home}/etc/systemd/resolved.conf (100%) rename {homeserver => home}/etc/systemd/system/reverse-tunnel.service (100%) rename {homeserver => home}/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf (100%) rename {homeserver => home}/etc/tmpfiles.d/home.conf (100%) rename {homeserver => home}/etc/zincati/config.d/99-config.toml (100%) rename {homeserver => home}/var/lib/systemd/linger/act-runner (100%) rename ignition/{homeserver.bu => home.bu} (100%) rename setup-homeserver.sh => setup-home.sh (91%) diff --git a/homeserver/etc/containers/containers.conf b/home/etc/containers/containers.conf similarity index 100% rename from homeserver/etc/containers/containers.conf rename to home/etc/containers/containers.conf diff --git a/homeserver/etc/containers/systemd/gitea.container b/home/etc/containers/systemd/gitea.container similarity index 100% rename from homeserver/etc/containers/systemd/gitea.container rename to home/etc/containers/systemd/gitea.container diff --git a/homeserver/etc/containers/systemd/gitea.volume b/home/etc/containers/systemd/gitea.volume similarity index 100% rename from homeserver/etc/containers/systemd/gitea.volume rename to home/etc/containers/systemd/gitea.volume diff --git a/homeserver/etc/containers/systemd/hostapd.container b/home/etc/containers/systemd/hostapd.container similarity index 100% rename from homeserver/etc/containers/systemd/hostapd.container rename to home/etc/containers/systemd/hostapd.container diff --git a/homeserver/etc/containers/systemd/monero.container b/home/etc/containers/systemd/monero.container similarity index 100% rename from homeserver/etc/containers/systemd/monero.container rename to home/etc/containers/systemd/monero.container diff --git a/homeserver/etc/containers/systemd/monero.network b/home/etc/containers/systemd/monero.network similarity index 100% rename from homeserver/etc/containers/systemd/monero.network rename to home/etc/containers/systemd/monero.network diff --git a/homeserver/etc/containers/systemd/monero.volume b/home/etc/containers/systemd/monero.volume similarity index 100% rename from homeserver/etc/containers/systemd/monero.volume rename to home/etc/containers/systemd/monero.volume diff --git a/homeserver/etc/containers/systemd/nginx.container b/home/etc/containers/systemd/nginx.container similarity index 100% rename from homeserver/etc/containers/systemd/nginx.container rename to home/etc/containers/systemd/nginx.container diff --git a/homeserver/etc/containers/systemd/nginx.network b/home/etc/containers/systemd/nginx.network similarity index 100% rename from homeserver/etc/containers/systemd/nginx.network rename to home/etc/containers/systemd/nginx.network diff --git a/homeserver/etc/containers/systemd/postgresql.container b/home/etc/containers/systemd/postgresql.container similarity index 100% rename from homeserver/etc/containers/systemd/postgresql.container rename to home/etc/containers/systemd/postgresql.container diff --git a/homeserver/etc/containers/systemd/postgresql.volume b/home/etc/containers/systemd/postgresql.volume similarity index 100% rename from homeserver/etc/containers/systemd/postgresql.volume rename to home/etc/containers/systemd/postgresql.volume diff --git a/homeserver/etc/containers/systemd/synapse.container b/home/etc/containers/systemd/synapse.container similarity index 100% rename from homeserver/etc/containers/systemd/synapse.container rename to home/etc/containers/systemd/synapse.container diff --git a/homeserver/etc/containers/systemd/synapse.volume b/home/etc/containers/systemd/synapse.volume similarity index 100% rename from homeserver/etc/containers/systemd/synapse.volume rename to home/etc/containers/systemd/synapse.volume diff --git a/homeserver/etc/containers/systemd/users/1500/act-runner.container b/home/etc/containers/systemd/users/1500/act-runner.container similarity index 100% rename from homeserver/etc/containers/systemd/users/1500/act-runner.container rename to home/etc/containers/systemd/users/1500/act-runner.container diff --git a/homeserver/etc/containers/systemd/users/1500/act-runner.volume b/home/etc/containers/systemd/users/1500/act-runner.volume similarity index 100% rename from homeserver/etc/containers/systemd/users/1500/act-runner.volume rename to home/etc/containers/systemd/users/1500/act-runner.volume diff --git a/homeserver/etc/containers/systemd/users/1500/podman-container.container b/home/etc/containers/systemd/users/1500/podman-container.container similarity index 100% rename from homeserver/etc/containers/systemd/users/1500/podman-container.container rename to home/etc/containers/systemd/users/1500/podman-container.container diff --git a/homeserver/etc/containers/systemd/users/1500/podman.volume b/home/etc/containers/systemd/users/1500/podman.volume similarity index 100% rename from homeserver/etc/containers/systemd/users/1500/podman.volume rename to home/etc/containers/systemd/users/1500/podman.volume diff --git a/homeserver/etc/containers/systemd/vaultwarden.container b/home/etc/containers/systemd/vaultwarden.container similarity index 100% rename from homeserver/etc/containers/systemd/vaultwarden.container rename to home/etc/containers/systemd/vaultwarden.container diff --git a/homeserver/etc/containers/systemd/vaultwarden.volume b/home/etc/containers/systemd/vaultwarden.volume similarity index 100% rename from homeserver/etc/containers/systemd/vaultwarden.volume rename to home/etc/containers/systemd/vaultwarden.volume diff --git a/homeserver/etc/hostname b/home/etc/hostname similarity index 100% rename from homeserver/etc/hostname rename to home/etc/hostname diff --git a/homeserver/etc/sysconfig/nftables.conf b/home/etc/sysconfig/nftables.conf similarity index 100% rename from homeserver/etc/sysconfig/nftables.conf rename to home/etc/sysconfig/nftables.conf diff --git a/homeserver/etc/systemd/network/external.network b/home/etc/systemd/network/external.network similarity index 100% rename from homeserver/etc/systemd/network/external.network rename to home/etc/systemd/network/external.network diff --git a/homeserver/etc/systemd/network/internal.network b/home/etc/systemd/network/internal.network similarity index 100% rename from homeserver/etc/systemd/network/internal.network rename to home/etc/systemd/network/internal.network diff --git a/homeserver/etc/systemd/network/untrusted.network b/home/etc/systemd/network/untrusted.network similarity index 100% rename from homeserver/etc/systemd/network/untrusted.network rename to home/etc/systemd/network/untrusted.network diff --git a/homeserver/etc/systemd/network/wifi.network b/home/etc/systemd/network/wifi.network similarity index 100% rename from homeserver/etc/systemd/network/wifi.network rename to home/etc/systemd/network/wifi.network diff --git a/homeserver/etc/systemd/resolved.conf b/home/etc/systemd/resolved.conf similarity index 100% rename from homeserver/etc/systemd/resolved.conf rename to home/etc/systemd/resolved.conf diff --git a/homeserver/etc/systemd/system/reverse-tunnel.service b/home/etc/systemd/system/reverse-tunnel.service similarity index 100% rename from homeserver/etc/systemd/system/reverse-tunnel.service rename to home/etc/systemd/system/reverse-tunnel.service diff --git a/homeserver/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf b/home/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf similarity index 100% rename from homeserver/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf rename to home/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf diff --git a/homeserver/etc/tmpfiles.d/home.conf b/home/etc/tmpfiles.d/home.conf similarity index 100% rename from homeserver/etc/tmpfiles.d/home.conf rename to home/etc/tmpfiles.d/home.conf diff --git a/homeserver/etc/zincati/config.d/99-config.toml b/home/etc/zincati/config.d/99-config.toml similarity index 100% rename from homeserver/etc/zincati/config.d/99-config.toml rename to home/etc/zincati/config.d/99-config.toml diff --git a/homeserver/var/lib/systemd/linger/act-runner b/home/var/lib/systemd/linger/act-runner similarity index 100% rename from homeserver/var/lib/systemd/linger/act-runner rename to home/var/lib/systemd/linger/act-runner diff --git a/ignition/homeserver.bu b/ignition/home.bu similarity index 100% rename from ignition/homeserver.bu rename to ignition/home.bu diff --git a/setup-homeserver.sh b/setup-home.sh similarity index 91% rename from setup-homeserver.sh rename to setup-home.sh index 1519edf..f5e9123 100644 --- a/setup-homeserver.sh +++ b/setup-home.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -cp -R homeserver/* / +cp -R home/* / sh setup-server.sh rpm-ostree install --idempotent systemd-networkd wireless-regdb systemctl enable --now nftables systemd-networkd diff --git a/setup.sh b/setup.sh index 2a4ee5e..3acf062 100755 --- a/setup.sh +++ b/setup.sh @@ -19,7 +19,7 @@ elif [ -d /usr/lib/coreos ]; then if systemd-detect-virt; then sh setup-vps.sh else - sh setup-homeserver.sh + sh setup-home.sh fi elif [ -d /ostree ]; then sh setup-laptop.sh