I’m trying to create an ignition file for a ucure-minimal virtual machine. This is my first experience with Butane or Ignition.
I’m using the example autorebase script as a starting point.
The first thing I am trying to do is add a section to enable qemu-guest-agent
after rebasing to ucore minimal.
I found this (3rd party) example snippet:
- name: "install-qemu-guest-agent.service"
enabled: true
contents: |
[Unit]
Description=Ensure qemu-guest-agent is installed
Wants=network-online.target
After=network-online.target
Before=zincati.service
ConditionPathExists=!/var/lib/%N.stamp
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=rpm-ostree install --allow-inactive --assumeyes --reboot qemu-guest-agent
ExecStart=/bin/touch /var/lib/%N.stamp
[Install]
WantedBy=multi-user.target
My initial questions are:
- Could this snipped as well as other systemd services I want to enable just be appended to the end of uCore’s example autorebase butane file
- The line that says
Before=zincati.service
seems like it would need to be changed since uCore states that zincati is disabled. Does anyone have guidance on what it should be changed to.
Edit: Also looking to enable cockpit and possibly tailscale out of the box.