How projects-by-ac/dynamic-to-static-ip works
This is a small interactive Bash utility for converting an Ubuntu Server 24.04 network configuration from DHCP to a static IP. The user runs the script, reviews detected settings, supplies new values, and chooses whether to apply them; declining restores the original Netplan configuration. The README documents the workflow, but no source excerpt was available, so the relationships below reflect documented behavior only.
Main entry points: static-ip.sh Setup walkthrough
Components 12
Other components
- Administrator
- Setup walkthrough
static-ip.sh - Interface detection
static-ip.sh - Current settings
static-ip.sh - Static values
static-ip.sh - Netplan backup
static-ip.sh - Config generation
static-ip.sh - Apply confirmation
static-ip.sh - Apply configuration
static-ip.sh - Restore configuration
static-ip.sh - Ubuntu networking
- Netplan config file
Connections 15
- Administrator → Setup walkthrough: runs
README.md - Setup walkthrough → Interface detection: detects interface
README.md - Setup walkthrough → Current settings: retrieves settings
README.md - Setup walkthrough → Static values: prompts for values
README.md - Setup walkthrough → Netplan backup: backs up
README.md - Setup walkthrough → Config generation: generates config
README.md - Setup walkthrough → Apply confirmation: prompts decision
README.md - Interface detection → Ubuntu networking: identifies interface
README.md - Current settings → Ubuntu networking: reads settings
README.md - Netplan backup → Netplan config file: backs up
README.md - Config generation → Netplan config file: writes config
README.md - Apply confirmation → Apply configuration: confirm applies
README.md - Apply confirmation → Restore configuration: decline restores
README.md - Apply configuration → Ubuntu networking: applies config
README.md - Restore configuration → Netplan config file: restores backup
README.md