This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM base/archlinux:latest | |
RUN \ | |
# First, update everything (start by keyring and pacman) | |
pacman -Sy && \ | |
pacman -S archlinux-keyring --noconfirm --noprogressbar --quiet && \ | |
pacman -S pacman --noconfirm --noprogressbar --quiet && \ | |
pacman-db-upgrade && \ | |
pacman -Su --noconfirm --noprogressbar --quiet && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
routes: | |
- to: 0.0.0.0/0 | |
via: GW_IPV4 | |
on-link: true | |
- to: IPV6_RAN:GEff:ff:ff:ff:ff | |
scope: link | |
- to: ::/0 | |
via: IPV6_RAN:GEff:ff:ff:ff:ff | |
on-link: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compare two pairs, according to snd value | |
def compare_snd(a, b) | |
if snd(a) == snd(b) then | |
0 | |
else | |
if snd(a) > snd(b) then | |
1 | |
else | |
-1 | |
end |
OlderNewer