mirror of
https://github.com/containers/podman.git
synced 2025-06-23 10:38:20 +08:00
Fix regression for hyperv
the method caller for creating the ignition file was accidently misordered for hyperv. this regression was caused by aa6827a6. Signed-off-by: Brent Baude <bbaude@redhat.com> [NO NEW TESTS NEEDED]
This commit is contained in:
@ -266,7 +266,7 @@ func (m *HyperVMachine) Init(opts machine.InitOptions) (bool, error) {
|
|||||||
user = machine.DefaultIgnitionUserName
|
user = machine.DefaultIgnitionUserName
|
||||||
}
|
}
|
||||||
// Write the ignition file
|
// Write the ignition file
|
||||||
if err := m.writeIgnitionConfigFile(opts, key, user); err != nil {
|
if err := m.writeIgnitionConfigFile(opts, user, key); err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
// The ignition file has been written. We now need to
|
// The ignition file has been written. We now need to
|
||||||
|
Reference in New Issue
Block a user