Skip to content

Instantly share code, notes, and snippets.

@nomionz
Last active February 22, 2023 21:56
Show Gist options
  • Save nomionz/3a73eae9bee5c5dae15e562db54ad4c3 to your computer and use it in GitHub Desktop.
Save nomionz/3a73eae9bee5c5dae15e562db54ad4c3 to your computer and use it in GitHub Desktop.
vbox nat and host only workaround
network:
ethernets:
enp0s3:
dhcp4: true
dhcp4-overrides: {route-metric: 0}
enp0s8:
dhcp4: no
addresses:
- 192.168.56.104/24
routes:
- to: 0.0.0.0/0
via: 192.168.56.1
metric: 100
nameservers:
addresses:
- 8.8.4.4
- 8.8.8.8
search: []
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment