Skip to content

Commit

Permalink
even better squid stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
samcday committed Jul 3, 2024
1 parent 3babe09 commit 9a64946
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
32 changes: 26 additions & 6 deletions ignition/base.bu
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,30 @@ storage:
files:
- path: /etc/systemd/system/rpm-ostreed.service.d/http-proxy.conf
overwrite: true
contents: |
[Service]
Environment="http_proxy=http://squid.samcday.com:80"
Environment="https_proxy=http://squid.samcday.com:80"
contents:
inline: |
[Service]
Environment="http_proxy=http://squid.samcday.com:80"
Environment="https_proxy=http://squid.samcday.com:80"
- path: /etc/ostree/remotes.d/fedora.conf
overwrite: true
contents:
inline: |
[remote "fedora"]
url=https://ostree.fedoraproject.org
gpg-verify=true
gpgkeypath=/etc/pki/rpm-gpg/
contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist
proxy=http://squid.samcday.com:80
- path: /etc/ostree/remotes.d/fedora-compose.conf
overwrite: true
contents:
inline: |
[remote "fedora-compose"]
url=https://kojipkgs.fedoraproject.org/compose/ostree/repo/
gpg-verify=true
gpgkeypath=/etc/pki/rpm-gpg/
proxy=http://squid.samcday.com:80
- path: /etc/squid/ca.pem
overwrite: true
contents:
Expand Down Expand Up @@ -80,8 +100,8 @@ sops:
Z1BrNWZudm5VV3R3SzdFSDB2VzdERHcK6iFxAbKL16w2H/lD12R5SKsQ82M8dESk
nn0/+f/sSy32vZX3W+8pSHVWRw9YnNOHRhD8tzipvE16DPhLRP4iZw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-07-03T15:35:02Z"
mac: ENC[AES256_GCM,data:O1GLmtZEEP7shm8hJD2vRJujyhjswMyb8WtclhQVSUfzIkM1D44bGn4Yuv4hyxtvbE3VHJVC/RgG/d+qqMlG+9jdZBJV3ZTtbnGGcY6BGBai+3AcR1Qo8YLGYykV2RDxsYDKWaB0sRyawFTpXxzc+auW3EsWqKkwiM+htBgKotQ=,iv:OTGJUcx0w9sJ0Y+cWee72lZtUooxaRO8t2NpAk8GzeY=,tag:mIvhaerd+nN+wYxPQNOkBg==,type:str]
lastmodified: "2024-07-03T15:52:39Z"
mac: ENC[AES256_GCM,data:XQiCPsa3/b8FPu2RUPYi2Ud+yP4fFGf/LeeTG6S/cPQXYir0ZRsMv0DkrYsAQniqZoLRSljZYIHaNrW7uBp757Co4ziivE8l0+8j0OEt46A38ZuS0d+H8wGRRxRlaio7oxeHUL2qtqEFbLTAV6cAcj0bDky2PL5qzywJpRJg3tU=,iv:zWYAo3tCnqJptOSWTHqioYKcOgOJ86Gxho7PKgdwYCM=,tag:rpVJGzmGSBESkjgQ1O5Kdg==,type:str]
pgp: []
encrypted_comment_regex: cryptme
version: 3.9.0
3 changes: 0 additions & 3 deletions node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,3 @@ RUN systemctl enable \
# Otherwise, re-provisions result in Ceph being unable to re-open the bluestore lvm2
# https://github.com/coreos/fedora-coreos-tracker/issues/1517
RUN rm /etc/lvm/devices/system.devices

# Ensure rpm-ostree uses squid
RUN echo 'proxy=http://squid.samcday.com:80' | tee -a /etc/ostree/remotes.d/fedora-compose.conf | tee -a /etc/ostree/remotes.d/fedora.conf

0 comments on commit 9a64946

Please sign in to comment.