spiegel_podman/pkg/machine
Ashley Cui 9abe8c7853 Introduce podman machine os apply
Podman machine os apply takes a takes a OCI image with container native ostree functionality and rebases the machine os on that image.
Currently, this requires the guest os inside the vm to use rpm-ostree.

When specifying an image, any container transport may be specified. If a
container transport is not specified, OS apply will attempt to search
the local containers-storage for the image, and if it is not found, it
will then attempt to use the Docker transport to pull from a remote
registry.

The architecture of OS apply is as follows:
podman machine os apply ssh's into the machine and calls podman machine os
apply. on the secondary call to podman machine os apply, apply
recognizes that it is inside the machine and does image operations, and
finally calls rpm-ostree rebase.

Tests are written but commented out, due to the chicken-and-egg problem.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-02-15 14:48:12 -05:00
..
applehv bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
e2e Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
os Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
qemu Resolve symlink path for qemu directory if possible 2023-02-07 08:57:55 -07:00
wsl Expose Podman named pipe in Inspect output 2023-02-03 00:05:28 +02:00
config.go Expose Podman named pipe in Inspect output 2023-02-03 00:05:28 +02:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
connection.go podman machine ssh handling 2022-09-26 18:35:01 -04:00
fcos.go WSL refactoring 2023-01-23 10:48:32 -06:00
fedora_unix.go WSL refactoring 2023-01-23 10:48:32 -06:00
fedora_windows.go WSL refactoring 2023-01-23 10:48:32 -06:00
ignition.go libpod: remove CNI word were no longer applicable 2022-12-16 14:20:14 +01:00
ignition_darwin.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_freebsd.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
ignition_linux.go fix #17244: use /etc/timezone where timedatectl is missing on Linux 2023-01-30 00:36:37 +09:00
ignition_schema.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_windows.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
keys.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Expose Podman named pipe in Inspect output 2023-02-03 00:05:28 +02:00
pull.go Update from /github.com/vbauerster/mpb/v7 to /v8 2023-02-02 20:01:06 +01:00