Skip to content

Commit

Permalink
chore: try to auto rebase after installation
Browse files Browse the repository at this point in the history
rebase to this image
  • Loading branch information
BobyMCbobs committed Feb 9, 2024
1 parent c90627e commit a290b6e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions equinix-metal-ipxe-boot/ignition.ign
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
{
"name": "zincati.service",
"enabled": false
},
{
"name": "rebase-to-corehost.service",
"enabled": true,
"contents": "[Unit]\nDescription=Fetch and deploy target image\nAfter=network-online.target\nConditionPathExists=!/root/.postRebase\n\n[Service]\nType=oneshot\nRemainAfterExit=yes\nExecStartPre=sleep 10\nExecStartPre=mount /dev/disk/by-label/boot /boot\n\nExecStart=rpm-ostree rebase ostree-unverified-registry:ghcr.io/ii/corehost/corehost:latest\n\nExecStartPost=touch /root/postRebase\nExecStartPost=systemctl reboot\n\n[Install]\nWantedBy=multi-user.target"
},
{
"name": "rebase-to-corehost-signed.service",
"enabled": true,
"contents": "[Unit]\nDescription=Fetch and deploy target image\nAfter=network-online.target\nConditionPathExists=!/root/.postRebaseSigned\n\n[Service]\nType=oneshot\nRemainAfterExit=yes\nExecStartPre=sleep 10\nExecStartPre=mount /dev/disk/by-label/boot /boot\n\nExecStart=rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ii/corehost/corehost:stable\n\nExecStartPost=touch /root/postRebaseSigned\n\n[Install]\nWantedBy=multi-user.target"
}
]
},
Expand Down

0 comments on commit a290b6e

Please sign in to comment.