Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions mantle/cmd/kola/resources/iscsi_butane_setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ storage:
-i /var/nested-ign.json
# Unmount the disk
iscsiadm --mode node --logoutall=all
# Use a separate unit to pull the image so it can be downloading
# in the background while the `coreos-installer install` is running.
- path: /etc/containers/systemd/coreos-assembler.image
contents:
inline: |
[Image]
Image=quay.io/coreos-assembler/coreos-assembler
[Service]
# Extend start time. COSA is a large image we are pulling from quay.
TimeoutStartSec=600
- path: /etc/containers/systemd/coreos-iscsi-vm.container
contents:
inline: |
Expand All @@ -98,7 +108,7 @@ storage:
OnFailure=emergency.target
OnFailureJobMode=isolate
[Container]
Image=quay.io/coreos-assembler/coreos-assembler
Image=coreos-assembler.image
ContainerName=iscsiboot
Volume=/var/boot.ipxe:/var/boot.ipxe
Volume=/dev/virtio-ports/testisocompletion:/mnt/serial
Expand All @@ -110,8 +120,6 @@ storage:
# Start by default on boot
WantedBy=multi-user.target
[Service]
# Extend start time. COSA is a large image we are pulling from quay.
TimeoutStartSec=600
# fix permissions on the serial device before passing it as a volume
ExecStartPre=chmod 777 /dev/virtio-ports/testisocompletion
# Pipe the logs to a virtio port so kola saves them
Expand Down
Loading