44 lines
No EOL
1 KiB
Text
44 lines
No EOL
1 KiB
Text
# Shell process module configuration for Debian Atomic Desktop
|
|
# This handles the post-installation deployment of the atomic image
|
|
|
|
# Post-installation script to deploy atomic image
|
|
script:
|
|
# Deploy the atomic image using bootc
|
|
- command: "bootc"
|
|
arguments:
|
|
- "install"
|
|
- "to-disk"
|
|
- "--device"
|
|
- "/dev/sda"
|
|
- "--replace-os"
|
|
- "--image"
|
|
- "debian-atomic:latest"
|
|
timeout: 300
|
|
|
|
# Alternative: deploy from local image if available
|
|
- command: "podman"
|
|
arguments:
|
|
- "load"
|
|
- "-i"
|
|
- "/run/archivemount/atomic-image.tar"
|
|
timeout: 60
|
|
|
|
# Set up bootc configuration
|
|
- command: "bootc"
|
|
arguments:
|
|
- "install"
|
|
- "to-disk"
|
|
- "--device"
|
|
- "/dev/sda"
|
|
- "--replace-os"
|
|
- "--image"
|
|
- "localhost/debian-atomic:latest"
|
|
timeout: 300
|
|
|
|
# Environment variables
|
|
environment:
|
|
BOOTC_IMAGE: "debian-atomic:latest"
|
|
BOOTC_DEVICE: "/dev/sda"
|
|
|
|
# Error handling
|
|
onError: "continue" |