Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions tests/install_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,24 @@
"centos9",
"rhel8",
"rhel9",
"rhel10",
]

# put here any unreleased distro in development that needs to be tested
# and any working osinfo known to be used by default when installating it
UNRELEASED_DISTROS_AND_OSINFO = {
"rhel10": "rhel9-unknown"
}

DISTRO_URL = {
"fedora":
"https://download.fedoraproject.org/pub/fedora/linux/releases/42/Everything/x86_64/os",
"centos8": "http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/",
"centos9": "http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/",
"centos10": "http://mirror.centos.org/centos/10-stream/BaseOS/x86_64/os/",

}
DISTRO_EXTRA_REPO = {
"centos8": "http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/",
"centos9": "http://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/",
"centos9": "http://mirror.centos.org/centos/9-stream/AppStream/x86_64/os/",
"centos10": "http://mirror.stream.centos.org/10-stream/AppStream/x86_64/os/",
}


Expand Down Expand Up @@ -84,7 +85,7 @@ def parse_args():
"--disk-size",
dest="disk_size",
default=20,
help="Size of the VM qcow2 disk, default is 20 GiB (ignored when --disk is specified).",
help="Size (in GiB) of the VM qcow2 disk, default is 20 GiB (ignored when --disk is specified).",
)
parser.add_argument(
"--disk",
Expand All @@ -96,7 +97,7 @@ def parse_args():
dest="ram",
default=3072,
type=int,
help="Amount of RAM configured for the VM.",
help="Amount of RAM (in MiB) configured for the VM, default is 3072 MiB.",
)
parser.add_argument(
"--cpu",
Expand Down
Loading