stages/kickstart: add support for the dir transport
Also, let's adjust the test.
This commit is contained in:
parent
4b66874824
commit
5da9a2fb63
2 changed files with 8 additions and 1 deletions
|
|
@ -187,7 +187,8 @@
|
|||
"enum": [
|
||||
"registry",
|
||||
"oci",
|
||||
"oci-archive"
|
||||
"oci-archive",
|
||||
"dir"
|
||||
],
|
||||
"description": "Use the given transport, Anaconda's default is 'registry'"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -234,6 +234,12 @@ TEST_INPUT = [
|
|||
},
|
||||
"ostreecontainer --url=http://some-ostree-url.com/foo",
|
||||
),
|
||||
({"ostreecontainer": {"transport": "oci", "url": "/run/install/repo/container", }, },
|
||||
"ostreecontainer --url=/run/install/repo/container --transport=oci",),
|
||||
({"ostreecontainer": {"transport": "oci-archive", "url": "/run/install/repo/container.tar", }, },
|
||||
"ostreecontainer --url=/run/install/repo/container.tar --transport=oci-archive",),
|
||||
({"ostreecontainer": {"transport": "dir", "url": "/run/install/repo/container", }, },
|
||||
"ostreecontainer --url=/run/install/repo/container --transport=dir",),
|
||||
({"bootloader": {"append": "karg1 karg2=0"}}, "bootloader --append='karg1 karg2=0'"),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue