diff options
author | Victor Morales <victor.morales@intel.com> | 2018-09-05 18:21:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-05 18:21:39 +0000 |
commit | 74ed9b29e9ef7ce0840e3b71d9e337a82f5343ca (patch) | |
tree | 48a3d0f30e341f71c06976199f602d4b74d26c02 /vagrant/installer.sh | |
parent | eca57b7812e275acb3ce92177b1f81cfce378a94 (diff) | |
parent | ab28924eb17d533185fecfe082c224fc96279621 (diff) |
Merge "Add alternative sources.list file"
Diffstat (limited to 'vagrant/installer.sh')
-rwxr-xr-x | vagrant/installer.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vagrant/installer.sh b/vagrant/installer.sh index 29866a82..b4886f21 100755 --- a/vagrant/installer.sh +++ b/vagrant/installer.sh @@ -260,6 +260,11 @@ k8s_info_file=$krd_folder/k8s_info.log mkdir -p $log_folder # Install dependencies +# Setup proxy variables +if [ -f $krd_folder/sources.list ]; then + mv /etc/apt/sources.list /etc/apt/sources.list.backup + cp $krd_folder/sources.list /etc/apt/sources.list +fi apt-get update install_k8s install_addons |