Skip to content

Commit

Permalink
Merge pull request #19060 from vrothberg/fix-17403
Browse files Browse the repository at this point in the history
podman machine start: fix ready service
  • Loading branch information
openshift-merge-robot authored Jun 30, 2023
2 parents 6652e29 + 9fb2f8e commit b050710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/machine/hyperv/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func (m *HyperVMachine) Init(opts machine.InitOptions) (bool, error) {
// VSOCK-CONNECT:2 <- shortcut to connect to the hostvm
ready := `[Unit]
After=remove-moby.service sshd.socket sshd.service
After=systemd-user-sessions.service
OnFailure=emergency.target
OnFailureJobMode=isolate
[Service]
Expand Down
1 change: 1 addition & 0 deletions pkg/machine/qemu/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ func (v *MachineVM) Init(opts machine.InitOptions) (bool, error) {
ready := `[Unit]
Requires=dev-virtio\\x2dports-%s.device
After=remove-moby.service sshd.socket sshd.service
After=systemd-user-sessions.service
OnFailure=emergency.target
OnFailureJobMode=isolate
[Service]
Expand Down

0 comments on commit b050710

Please sign in to comment.