spiegel_podman/pkg/machine
Matthew Heon 5e94c95ad0 Move to deterministic network setup order
This was implemented by containers/netavark #1369; this commit
completes the process by wiring it into Podman. We now respect
the CLI order for configured networks - if a user passes
`--net net1,net2` we guarantee that net1 will be configured
before net2.

For containers created before this patch, we don't retain enough
information to configure networks in CLI order, so we use
alphabetical order instead to still guarantee consistency.

No breaking API changes have been made, but we do add a new
field to supplement the existing map to (optionally) provide
ordering information. The Podman CLI will always pass this.
Existing applications that do not will, again, receive]
deterministic ordering based on an alphabetical sort of network
names.

This requires the latest version of Netavark to work properly.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2026-04-17 10:00:32 -04:00
..
apple fix new lint issues from prealloc 2026-03-10 19:45:35 +01:00
applehv enable gofumpt formatter 2025-11-11 12:32:46 +01:00
compression fix: check err returned by newGenericDecompressor 2025-11-20 12:07:37 +03:00
connection Bump Go version to v6 2025-10-23 11:00:15 -04:00
define rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling 2026-04-03 18:37:24 +02:00
e2e Move to deterministic network setup order 2026-04-17 10:00:32 -04:00
env Bump Go version to v6 2025-10-23 11:00:15 -04:00
hyperv hyperV: fix powershell path escape 2026-04-13 19:01:49 +02:00
ignition add trailing newline to subgid due to shadow-utils 4.19.0 regression 2026-03-12 09:49:44 -04:00
libkrun Remove Intel MacOS support 2025-12-07 07:03:06 -06:00
lock Bump Go version to v6 2025-10-23 11:00:15 -04:00
ocipull Also set DestinationCtx in a copy 2026-03-02 23:17:13 +01:00
os Autocomplete machine fixes 2026-02-02 15:19:37 -06:00
ports enable gofumpt formatter 2025-11-11 12:32:46 +01:00
provider Merge pull request #27650 from lstocchi/i27614 2025-12-09 12:17:38 +00:00
proxyenv Fix interfering escaping of commas and spaces in no_proxy variable 2026-02-02 15:49:25 +01:00
qemu fix new lint issues from prealloc 2026-03-10 19:45:35 +01:00
shim rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling 2026-04-03 18:37:24 +02:00
sockets Bump Go version to v6 2025-10-23 11:00:15 -04:00
stdpull enable gofumpt formatter 2025-11-11 12:32:46 +01:00
vmconfigs enable gofumpt formatter 2025-11-11 12:32:46 +01:00
windows propose running init/rm command on hyperv machine in elevated mode 2026-04-03 18:37:08 +02:00
wsl rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling 2026-04-03 18:37:24 +02:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go propose running init/rm command on hyperv machine in elevated mode 2026-04-03 18:37:08 +02:00
config_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
gvproxy.go Fix race condition in CleanupGVProxy when reading gvproxy PID file 2026-01-09 08:07:04 +01:00
gvproxy_unix.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
gvproxy_windows.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
keys.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go chore(machine): remove unused EvalSymlinksOrClean function and tests 2026-01-28 02:42:45 +08:00
machine_windows_test.go chore(machine): remove unused EvalSymlinksOrClean function and tests 2026-01-28 02:42:45 +08:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go machine: prepend LocalhostSSHArgs to args 2026-02-11 11:41:11 -08:00
ssh_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
volumes.go Bump Go version to v6 2025-10-23 11:00:15 -04:00