PK! __init__.pynu[PK!\^centos6_base.reponu[# CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ baseurl=http://vault.centos.org/6.10/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #released updates [updates] name=CentOS-$releasever - Updates #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ baseurl=http://vault.centos.org/6.10/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ baseurl=http://vault.centos.org/6.10/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ baseurl=http://vault.centos.org/6.10/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ baseurl=http://vault.centos.org/6.10/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 PK!סcentos7_base.reponu[# CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled = 1 #released updates [updates] name=CentOS-$releasever - Updates #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 PK!^debian8_mirrors.reponu[deb [trusted=yes] http://archive.debian.org/debian jessie main deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main deb [trusted=yes] http://archive.debian.org/debian/ jessie main contrib non-freePK!;#gfortimonitor.reponu[[fortimonitor.repo] name=FortiMonitor Repository baseurl=https://repo.fortimonitor.com/rpm-stable/ enabled=1 gpgcheck=1 gpgkey=https://repo.fortimonitor.com/fortimonitor.pubPK!D?hfs_common.reponu[[hfs-common] name=Hosting Foundation Services common repository baseurl=https://yum.secureserver.net/repos/dev/centos/7/x86_64/hfs-common enabled=1 gpgcheck=0PK!A panopta.reponu[[panopta.repo] name=Panopta Repository baseurl=http://packages.panopta.com/rpm-stable/ enabled=1 gpgcheck=1 gpgkey=http://packages.panopta.com/panopta.pubPK!hܔpanopta_centos8.reponu[[panopta.repo] name=Panopta Repository baseurl=http://packages.panopta.com/rpm8-stable/ enabled=1 gpgcheck=1 gpgkey=http://packages.panopta.com/panopta.pubPK!Ctmp_apt_config.reponu[Dir::Etc::SourceParts "/tmp/tmp_apt/source.list.d"; Dir::Etc::SourceList "/tmp/tmp_apt/source.list"; Dir::State::Lists "/tmp/tmp_apt/tmp_apt_lists"; Dir::Cache "/tmp/tmp_apt/tmp_apt_cache";PK!y^^ubuntu1604_mirrors.reponu[deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiversePK!A~>update_dns_linux.shnu[#!/usr/bin/env bash invalid_resolvers1=$1 invalid_resolvers2=$2 valid_resolvers1=$3 valid_resolvers2=$4 if [[ -z "$invalid_resolvers1" ]] || [[ -z "$invalid_resolvers2" ]] || [[ -z "$valid_resolvers1" ]] || [[ -z "$valid_resolvers2" ]] then echo "usage: ./update_dns_centos.sh INVALID_RESOLVERS_1 INVALID_RESOLVERS_2 VALID_RESOLVERS_1 VALID_RESOLVERS_2" exit 2 fi check_net_mgr="$(ps -e | grep -i networkmanager)" if [[ ! -z "$check_net_mgr" ]] then echo "Network Manager is running on the box, skipping changes" >/dev/stderr exit 1 fi check_dns1="$(grep "$invalid_resolvers1" /etc/resolv.conf)" check_dns2="$(grep "$invalid_resolvers2" /etc/resolv.conf)" err_msg="no servers could be reached" if [[ ! -z "$check_dns1" ]] || [[ ! -z "$check_dns2" ]] then echo "resolv.conf has invalid resolvers" chk_domain_resolv="$(dig google.com +short)" if [[ ! -z "$chk_domain_resolv" ]] && [[ "$chk_domain_resolv" != *"$err_msg"* ]] then echo "Domain getting resolved successfully with invalid resolvers" cp /etc/resolv.conf /var/tmp echo "resolv.conf backup created at /var/tmp" echo "Updating invalid resolvers with valid ones" sed -i "s/$invalid_resolvers1/$valid_resolvers1/g" /etc/resolv.conf success_check1=$? sed -i "s/$invalid_resolvers2/$valid_resolvers2/g" /etc/resolv.conf success_check2=$? if [[ "$success_check1" -ne 0 ]] || [[ "$success_check2" -ne 0 ]] then echo "DNS resolvers could not be replaced, restoring backup" >/dev/stderr cp /var/tmp/resolv.conf /etc/resolv.conf exit_code=2 else check_domain="$(dig google.com +short)" if [[ -z "$check_domain" ]] || [[ "$check_domain" == *"$err_msg"* ]] then echo "Valid resolvers could not resolve domain, restoring backup" >/dev/stderr cp /var/tmp/resolv.conf /etc/resolv.conf exit_code=2 else echo "Valid resolvers resolved the domain successfully" exit_code=0 fi fi echo "Deleting backup" rm /var/tmp/resolv.conf exit "$exit_code" else echo "Invalid resolvers did not resolve domain, skipping changes" >/dev/stderr exit 2 fi else echo "resolv.conf does not have invalid resolvers, skipping changes" exit 0 fi PK!V#__pycache__/__init__.cpython-38.pycnu[U af@sdS)Nrrrg/opt/nydus/tmp/pip-target-53d1vnqk/lib/python/customer_local_ops/operating_system/resources/__init__.pyPK! __init__.pynu[PK!\^;centos6_base.reponu[PK!ס[ centos7_base.reponu[PK!^!debian8_mirrors.reponu[PK!;#gDfortimonitor.reponu[PK!D?2hfs_common.reponu[PK!A panopta.reponu[PK!hܔpanopta_centos8.reponu[PK!Ctmp_apt_config.reponu[PK!y^^ubuntu1604_mirrors.reponu[PK!A~>iupdate_dns_linux.shnu[PK!V# __pycache__/__init__.cpython-38.pycnu[PK !