1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

remove hardcoded repo urls

This commit is contained in:
Garret Raziel 2015-03-04 12:26:02 +01:00 committed by geekotest
parent c6542c27b8
commit e7ae288abd
4 changed files with 5 additions and 5 deletions

View File

@ -183,7 +183,7 @@
name => "server_repository_http_graphical",
prio => 7,
settings => [
{ key => "REPOSITORY_GRAPHICAL", value => "1" },
{ key => "REPOSITORY_GRAPHICAL", value => "http://dl.fedoraproject.org/pub/fedora/linux/development" },
],
variables => "",
},
@ -191,7 +191,7 @@
name => "server_repository_http_variation",
prio => 8,
settings => [
{ key => "REPOSITORY_VARIATION", value => "1" },
{ key => "REPOSITORY_VARIATION", value => "http://dl.fedoraproject.org/pub/fedora/linux/development" },
],
variables => "",
},

View File

@ -28,7 +28,7 @@ sub run {
$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;
}

View File

@ -38,7 +38,7 @@ sub run {
assert_and_click "anaconda_install_source_repo_select_mirrorlist";
}
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;
}

View File

@ -12,7 +12,7 @@ sub run {
my $fedora_version = lc((split /_/, get_var("BUILD"))[0]);
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
send_key "ctrl-alt-f2";