use http instead of https for my local repo
This commit is contained in:
parent
0fe0d050ac
commit
d54e92f02f
@ -869,7 +869,7 @@ applications:
|
||||
=92oX
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
install_sources: |
|
||||
- 'deb https://192.168.1.12/artifacts.elastic.co/packages/5.x/apt stable main'
|
||||
- 'deb http://192.168.1.12/artifacts.elastic.co/packages/5.x/apt stable main'
|
||||
nagios:
|
||||
charm: cs:nagios
|
||||
series: bionic
|
||||
|
@ -133,8 +133,8 @@ cloudinit-userdata: |
|
||||
preruncmd:
|
||||
- locale-gen en_GB.UTF-8; update-locale
|
||||
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A166877412DAC26E73CEBF3FF6C280178D13028C
|
||||
- if hostnamectl | grep 18.04; then add-apt-repository "deb https://192.168.1.12/private-ppa.launchpad.net/ubuntu-advantage/security-benchmarks/ubuntu/ bionic main"; fi
|
||||
- if hostnamectl | grep 20.04; then add-apt-repository "deb https://192.168.1.12/private-ppa.launchpad.net/ubuntu-advantage/security-benchmarks/ubuntu/ focal main"; fi
|
||||
- if hostnamectl | grep 18.04; then add-apt-repository "deb http://192.168.1.12/private-ppa.launchpad.net/ubuntu-advantage/security-benchmarks/ubuntu/ bionic main"; fi
|
||||
- if hostnamectl | grep 20.04; then add-apt-repository "deb http://192.168.1.12/private-ppa.launchpad.net/ubuntu-advantage/security-benchmarks/ubuntu/ focal main"; fi
|
||||
- sudo apt update
|
||||
- sudo DEBIAN_FRONTEND=noninteractive apt install -y -q usg-cisbenchmark
|
||||
- if hostnamectl | grep 18.04; then cd /usr/share/ubuntu-scap-security-guides/cis-hardening; ./Canonical_Ubuntu_18.04_CIS-harden.sh -f /tmp/cis-hardening-bionic.conf lvl2_server; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user