Skip to content

Instantly share code, notes, and snippets.

@jermdw
Last active August 26, 2018 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jermdw/9ceff225c98127ebec40edbcb2fa106f to your computer and use it in GitHub Desktop.
Save jermdw/9ceff225c98127ebec40edbcb2fa106f to your computer and use it in GitHub Desktop.
Photon-OS Static IP Configuration
cat > /etc/systemd/network/10-static-en.network << "EOF"
[Match]
Name=eth0
[Network]
Address=192.168.1.12/24
Gateway=192.168.1.1
DNS=192.168.1.5
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment