From 4df690bd055e6845e5ec29629708e188cdb419d3 Mon Sep 17 00:00:00 2001 From: Raymond Pulsipher Date: Tue, 28 Dec 2021 10:10:21 -0800 Subject: [PATCH] Update change_ip_address.md --- change_ip_address.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/change_ip_address.md b/change_ip_address.md index eb94f7a..d77db74 100644 --- a/change_ip_address.md +++ b/change_ip_address.md @@ -3,12 +3,14 @@ ## Change IP Address Edit the config file and restart the network stack (NOTE: If you do this wrong, you may loose network connection - make sure you can get to the system physically or via your virtualization console if it goes wrong) -sudo nano /etc/netplan/01-netcfg.yml + +```sudo nano /etc/netplan/01-netcfg.yml``` - Change address/gateway/nameservers as needed ctrl+O to save, ctrl+X to exit Restart the network services (or reboot the host) -sudo systemctl restart systemd-networkd + +```sudo systemctl restart systemd-networkd```