From 04068c9f928d805af56a8be0b0f59fa7e02f62e2 Mon Sep 17 00:00:00 2001 From: Sergey Novikov Date: Mon, 13 Mar 2017 16:59:06 +0400 Subject: [PATCH] Use default config of repos for bootstrap image building Closes-Bug: 1672663 Change-Id: I6a7c18af6b7e2e1bb2f932618a83ccf90e6dcc3e --- fuelweb_test/tests/test_ubuntu_bootstrap.py | 34 ++------------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/fuelweb_test/tests/test_ubuntu_bootstrap.py b/fuelweb_test/tests/test_ubuntu_bootstrap.py index d358a5a90..127042082 100644 --- a/fuelweb_test/tests/test_ubuntu_bootstrap.py +++ b/fuelweb_test/tests/test_ubuntu_bootstrap.py @@ -101,23 +101,8 @@ class UbuntuBootstrapBuild(base_test_case.TestBasic): """ self.env.revert_snapshot("ready") - bootstrap_default_params = \ - self.env.fuel_bootstrap_actions.get_bootstrap_default_config() - - additional_repos = [ - self._get_main_repo(bootstrap_default_params["repos"], - "ubuntu", "main"), - self._get_main_repo(bootstrap_default_params["repos"], - "ubuntu", "updates"), - self._get_main_repo(bootstrap_default_params["repos"], - "mos", "main")] - bootstrap_params = { - "ubuntu-release": "trusty", - "repo": ["'deb {0} {1} {2}'".format(repo['uri'], - repo['suite'], - repo['section']) - for repo in additional_repos], + "ubuntu-release": "xenial", "label": "UbuntuBootstrap", "output-dir": "/tmp", "package": ["ipython"] @@ -182,23 +167,8 @@ class UbuntuBootstrapBuild(base_test_case.TestBasic): kernel_cmdline = ["biosdevname=0", "net.ifnames=1", "debug", "ignore_loglevel", "log_buf_len=10M"] - bootstrap_default_params = \ - self.env.fuel_bootstrap_actions.get_bootstrap_default_config() - - additional_repos = [ - self._get_main_repo(bootstrap_default_params["repos"], - "ubuntu", "main"), - self._get_main_repo(bootstrap_default_params["repos"], - "ubuntu", "updates"), - self._get_main_repo(bootstrap_default_params["repos"], - "mos", "main")] - bootstrap_params = { - "ubuntu-release": "trusty", - "repo": ["'deb {0} {1} {2}'".format(repo['uri'], - repo['suite'], - repo['section']) - for repo in additional_repos], + "ubuntu-release": "xenial", "direct-repo-addr": [self.env.admin_node_ip], "script": "/root/bin/bootstrap_script.sh", "label": "UbuntuBootstrap",