spiegel_podman/cmd/podman/machine
Brent Baude b4ec460ed4 Add update-connection to machine start and init
This allows users to set the associated machine's system connection to the system default when running `podman machine init --now` or `podman machine start`.  It also changes the default bbehavior of these commands in that the user will be prompted and asked if they would like to switch the system connection.  It also introduces a command line switch called `--update-connection`.  If the switch is unset, then the user will be prmpted.  If the command value is explicitly set to `false`, the user will not be prompted and the system connection will not be altered.  If the value is set to `true`, the system connection will be made the default and the user will not be prompted.

Fixes: https://issues.redhat.com/browse/RUN-3632

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-11-04 10:35:28 -06:00
..
os Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
client9p.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
cp.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
info.go Machine init --provider 2025-10-29 07:59:34 -05:00
init.go Add update-connection to machine start and init 2025-11-04 10:35:28 -06:00
inspect.go Machine init --provider 2025-10-29 07:59:34 -05:00
list.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
machine.go Machine init --provider 2025-10-29 07:59:34 -05:00
machine_unix.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
os.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
reset.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
rm.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
server9p.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
set.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
ssh.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
start.go Add update-connection to machine start and init 2025-11-04 10:35:28 -06:00
stop.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00