Initial Commit

This commit is contained in:
2026-09-15 15:24:03 -04:00
commit 4dc7086e7e
605 changed files with 101380 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# =====================================================================
# Record a new display name for a machine.
#
# systemctl start owuivm-rename@ubuntu.service
#
# The wanted name is read from /var/lib/owuivm/incoming/<id>.name, which
# the desktop tool wrote as the operator. A unit instance carries one
# string and that string has to be the machine id, so the name travels
# through the same staging directory the installation media uses.
#
# This writes ONLY /var/lib/owuivm/registry/vm-names.toml, an override file that
# readers merge over the shipped registry. configs/vms.toml is never
# edited by a program: it is mostly comments, and no TOML writer keeps
# them.
# =====================================================================
[Unit]
Description=Rename the %i machine
[Service]
Type=oneshot
User=owuivmadm
Group=owuivmadm
RemainAfterExit=no
UMask=0022
ProtectSystem=strict
ReadWritePaths=/var/lib/owuivm/registry /var/lib/owuivm/incoming
ProtectHome=yes
PrivateTmp=yes
NoNewPrivileges=yes
TimeoutStartSec=30
ExecStart=/usr/local/libexec/owuivm-set-name %i