Changeset 4610


Ignore:
Timestamp:
May 5, 2017, 2:46:27 PM (2 years ago)
Author:
daduve
Message:

updating client to adding lliurex.net and mirror options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-remote-installer/trunk/fuentes/lliurex-remote-installer-client.install/usr/share/n4d/python-plugins/LliurexRemoteInstallerClient.py

    r4107 r4610  
    601601                repoList=[]
    602602                list_apt=[]
     603                lliurex_net=["deb http://lliurex.net/xenial xenial main restricted universe multiverse","deb http://lliurex.net/xenial xenial-security main restricted universe multiverse","deb http://lliurex.net/xenial xenial-updates main restricted universe multiverse"]
     604                lliurex_mirror=["deb http://mirror/llx16 xenial main restricted universe multiverse","deb http://mirror/llx16 xenial-security main restricted universe multiverse","deb http://mirror/llx16 xenial-updates main restricted universe multiverse"]
    603605                for source in appDict:
    604606                        self._debug("[LLXRemoteInstallerClient](_refine_apt_repoList) Adding applist from: "+str(source))
     
    617619                        list_apt.extend(apt_aux)
    618620                        #configure pinning for new repos
    619                         repoList.append(url)
     621                        if source in ["LliureX"]:
     622                                repoList.extend(lliurex_net)
     623                        elif source in ["Mirror"]:
     624                                repoList.extend(lliurex_mirror)
     625                        else:
     626                                repoList.append(url)
    620627                appsRepoDict={'apt':list_apt,'repos':repoList}
    621628                return appsRepoDict
Note: See TracChangeset for help on using the changeset viewer.