mirror of
https://github.com/utmapp/utmapp-bot.git
synced 2026-12-01 14:02:03 -10:00
bin/utmbot and scripts/utmbot: the UTM lease, disposable VM boots, guest commands over SSH, driver installs, frame capture and pacing, benchmarks, kernel debugging, snapshots, CrossOver comparisons; macOS VMs (create and install from an IPSW or the latest one, Setup Assistant driven through the screen with OCR, baselines, Xcode and simulator runtimes, LLDB) and UTM's UI on macOS VMs and iOS simulators. Host builds of UTM and its dependencies, unattended Windows and Linux provisioning, guest scripts, the GPU probes and benchmark definitions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
#cloud-config
|
|
# Seed for provision-linux-test.sh (NoCloud, volume CIDATA). @...@ are
|
|
# filled in by the media stage.
|
|
hostname: @HOSTNAME@
|
|
users:
|
|
- name: @USER@
|
|
gecos: utmbot test user
|
|
groups: [adm, sudo, video, render, audio, input]
|
|
shell: /bin/bash
|
|
# passwordless sudo: the provisioning steps install packages over SSH
|
|
sudo: "ALL=(ALL) NOPASSWD:ALL"
|
|
lock_passwd: false
|
|
passwd: "@PASSWORD_HASH@"
|
|
ssh_authorized_keys:
|
|
- @PUBKEY@
|
|
ssh_pwauth: false
|
|
package_update: true
|
|
packages:
|
|
- ubuntu-desktop-minimal
|
|
- openssh-server
|
|
- mesa-vulkan-drivers
|
|
- vulkan-tools
|
|
- x11-utils
|
|
write_files:
|
|
# log straight into GNOME (on Wayland, with Xwayland for X11 clients)
|
|
- path: /etc/gdm3/custom.conf
|
|
content: |
|
|
[daemon]
|
|
AutomaticLoginEnable=true
|
|
AutomaticLogin=@USER@
|
|
runcmd:
|
|
- [systemctl, set-default, graphical.target]
|
|
# no GNOME welcome wizard over the desktop
|
|
- [sh, -c, "mkdir -p /home/@USER@/.config && echo yes > /home/@USER@/.config/gnome-initial-setup-done && chown -R @USER@: /home/@USER@/.config"]
|
|
# Power off, not reboot: a guest reboot right after the install hung with
|
|
# every vCPU busy; the host starts the VM again and the desktop comes up
|
|
power_state:
|
|
mode: poweroff
|
|
condition: true
|