Skip to content

Instantly share code, notes, and snippets.

View bmegli's full-sized avatar

Bartosz Meglicki bmegli

  • Poland
View GitHub Profile
@bmegli
bmegli / ubuntu_unnatended_upgrade_state.md
Created August 18, 2023 10:45
Ubuntu unnatended upgrade state (`Waiting for cache lock...`)

Checking Status

# check service status
sudo systemctl status unattended-upgrades
# check service log
journalctl --unit unattended-upgrades
@bmegli
bmegli / route_A_through_B_to_C.md
Created March 17, 2024 13:18
route traffic from A over B network interfaces to C

Scenario

# B has 2 network interaces, A reachable through one, C reachable through other
# We want A to C communiation (over B)
A----B----C

Ad-hoc solution