mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 22:46:27 +00:00
remove hardcoded repo urls
This commit is contained in:
parent
c6542c27b8
commit
e7ae288abd
@ -183,7 +183,7 @@
|
|||||||
name => "server_repository_http_graphical",
|
name => "server_repository_http_graphical",
|
||||||
prio => 7,
|
prio => 7,
|
||||||
settings => [
|
settings => [
|
||||||
{ key => "REPOSITORY_GRAPHICAL", value => "1" },
|
{ key => "REPOSITORY_GRAPHICAL", value => "http://dl.fedoraproject.org/pub/fedora/linux/development" },
|
||||||
],
|
],
|
||||||
variables => "",
|
variables => "",
|
||||||
},
|
},
|
||||||
@ -191,7 +191,7 @@
|
|||||||
name => "server_repository_http_variation",
|
name => "server_repository_http_variation",
|
||||||
prio => 8,
|
prio => 8,
|
||||||
settings => [
|
settings => [
|
||||||
{ key => "REPOSITORY_VARIATION", value => "1" },
|
{ key => "REPOSITORY_VARIATION", value => "http://dl.fedoraproject.org/pub/fedora/linux/development" },
|
||||||
],
|
],
|
||||||
variables => "",
|
variables => "",
|
||||||
},
|
},
|
||||||
|
@ -28,7 +28,7 @@ sub run {
|
|||||||
|
|
||||||
$fedora_version = lc((split /_/, get_var("BUILD"))[0]);
|
$fedora_version = lc((split /_/, get_var("BUILD"))[0]);
|
||||||
|
|
||||||
$repourl = "http://download.fedoraproject.org/pub/fedora/linux/development/".$fedora_version."/".get_var("ARCH")."/os";
|
$repourl = get_var("REPOSITORY_VARIATION")."/".$fedora_version."/".get_var("ARCH")."/os";
|
||||||
type_string " inst.repo=".$repourl;
|
type_string " inst.repo=".$repourl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ sub run {
|
|||||||
assert_and_click "anaconda_install_source_repo_select_mirrorlist";
|
assert_and_click "anaconda_install_source_repo_select_mirrorlist";
|
||||||
}
|
}
|
||||||
elsif (get_var("REPOSITORY_GRAPHICAL")){
|
elsif (get_var("REPOSITORY_GRAPHICAL")){
|
||||||
$repourl = "download.fedoraproject.org/pub/fedora/linux/development/".$fedora_version."/".get_var("ARCH")."/os";
|
$repourl = get_var("REPOSITORY_GRAPHICAL")."/".$fedora_version."/".get_var("ARCH")."/os";
|
||||||
type_string $repourl;
|
type_string $repourl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ sub run {
|
|||||||
my $fedora_version = lc((split /_/, get_var("BUILD"))[0]);
|
my $fedora_version = lc((split /_/, get_var("BUILD"))[0]);
|
||||||
my $repourl = "";
|
my $repourl = "";
|
||||||
|
|
||||||
$repourl = "download.fedoraproject.org/pub/fedora/linux/development/".$fedora_version."/".get_var("ARCH")."/os";
|
$repourl = get_var("REPOSITORY_VARIATION")."/".$fedora_version."/".get_var("ARCH")."/os";
|
||||||
|
|
||||||
# check that the repo was used
|
# check that the repo was used
|
||||||
send_key "ctrl-alt-f2";
|
send_key "ctrl-alt-f2";
|
||||||
|
Loading…
Reference in New Issue
Block a user