change host ip to ts ip

This commit is contained in:
2026-01-02 13:52:42 -05:00
parent f3fa6c4a26
commit 1c484c806d
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ COPY makepkg.conf /etc/makepkg.conf.d/custom.conf
COPY sudoers /etc/sudoers.d/builder
COPY run.sh /run.sh
RUN echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts
RUN echo "100.64.0.2 archmirror.i.balki.me" >> /etc/hosts
COPY mirrorlist /etc/pacman.d/mirrorlist

4
run.sh
View File

@@ -9,8 +9,8 @@ fi
# /etc/hosts is managed by podman. Copying or editing with `sed -i` does not seem to work. Only appendig works
# podman sets up 169.254.1.2 to be the ip of the host
sudo sh -c 'echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts'
sudo sh -c 'echo "169.254.1.2 gitea.balki.me" >> /etc/hosts'
sudo sh -c 'echo "100.64.0.2 archmirror.i.balki.me" >> /etc/hosts'
sudo sh -c 'echo "100.64.0.2 gitea.balki.me" >> /etc/hosts'
sudo pacman -Syu