diff system.py @ 145:ee0384eebee5

minor
author drewp@bigasterisk.com
date Sat, 11 Mar 2023 11:22:48 -0800
parents 5558d8481ddf
children 2065998876e4
line wrap: on
line diff
--- a/system.py	Sun Feb 19 21:35:22 2023 -0800
+++ b/system.py	Sat Mar 11 11:22:48 2023 -0800
@@ -10,7 +10,6 @@
 
 TZ = 'America/Los_Angeles'
 
-server.hostname(hostname=host.name)
 
 def timezone():
     files.link(path='/etc/localtime', target=f'/usr/share/zoneinfo/{TZ}')
@@ -30,6 +29,7 @@
     apt.key(src='https://packages.microsoft.com/keys/microsoft.asc')
     apt.key(src='https://deb.nodesource.com/gpgkey/nodesource.gpg.key')
 
+    # Failed to fetch https://repo.steampowered.com/steam/dists/stable/InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7 
 
 def apt_sources():
     if host.get_fact(Arch) == 'x86_64':
@@ -65,7 +65,7 @@
 
 
 # don't try to get aufs-dkms on rpi-- https://github.com/docker/for-linux/issues/709
-def podman_inecure_registry():
+def podman_insecure_registry():
     files.template(src='templates/kube/podman_registries.conf.j2', dest='/etc/containers/registries.conf.d/bang.conf')
 
 
@@ -95,6 +95,7 @@
                dest=f'/etc/systemd/system/zfs_space_metrics.service')
     systemd.service(service=f'zfs_space_metrics', enabled=True, restarted=True, daemon_reload=True)
 
+server.hostname(hostname=host.name)
 timezone()
 pkg_keys()
 apt_sources()
@@ -108,7 +109,7 @@
     files.template(src='templates/boot_config.txt.j2', dest='/boot/config.txt')
 
 if not is_pi:
-    podman_inecure_registry()
+    podman_insecure_registry()
 
 if host.name in ['bang', 'pipe']:
     no_sleep()