@@ -22,8 +22,6 @@ import (
2222
2323const (
2424 installTimeoutMins = 12
25- // https://github.com/coreos/fedora-coreos-config/pull/2544
26- liveISOFromRAMKarg = "coreos.liveiso.fromram"
2725)
2826
2927type IsoTestOpts struct {
@@ -427,3 +425,31 @@ ExecStart=/usr/bin/nmcli c show br-ex
427425RequiredBy=coreos-installer.target
428426# for target system
429427RequiredBy=multi-user.target` , nmConnectionId , nmConnectionFile )
428+
429+ var bootStartedSignal = "boot-started-OK"
430+ var bootStartedUnit = fmt .Sprintf (`[Unit]
431+ Description=TestISO Boot Started
432+ Requires=dev-virtio\\x2dports-bootstarted.device
433+ OnFailure=emergency.target
434+ OnFailureJobMode=isolate
435+ [Service]
436+ Type=oneshot
437+ RemainAfterExit=yes
438+ ExecStart=/bin/sh -c '/usr/bin/echo %s >/dev/virtio-ports/bootstarted'
439+ [Install]
440+ RequiredBy=coreos-installer.target` , bootStartedSignal )
441+
442+ var coreosInstallerMultipathUnit = `[Unit]
443+ Description=TestISO Enable Multipath
444+ Before=multipathd.service
445+ DefaultDependencies=no
446+ [Service]
447+ Type=oneshot
448+ RemainAfterExit=yes
449+ ExecStart=/usr/sbin/mpathconf --enable
450+ [Install]
451+ WantedBy=coreos-installer.target`
452+
453+ var waitForMpathTargetConf = `[Unit]
454+ Requires=dev-mapper-mpatha.device
455+ After=dev-mapper-mpatha.device`
0 commit comments