Setup

View Services

systemctl list-units -t service --state running

Static IP

vi /etc/network/interfaces

auto enp5s0f0
iface enp5s0f0 inet static
    address 10.10.9.250/24
    gateway 10.10.9.1

systemctl restart networking

Fix locale

echo "" >> ~/.zshrc
echo "export LC_ALL=en_US.UTF-8" >> ~/.zshrc
echo "export LANG=en_US.UTF-8" >> ~/.zshrc

Enable ssh

sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
systemctl restart ssh

Root enable sudo

su -l
adduser <your_username_here> sudo
logout

Bridge

bridge-utils

apt-get -y install bridge-utils

# Create a Bridge Interface
ip link add br0 type bridge

# Configure the Bridge Interface
ip addr add 192.168.1.100/24 dev br0

# Up
ip link set dev br0 up

vi /etc/default/lxd-bridge
USE_LXD_BRIDGE="false"
LXD_BRIDGE="br0"


brctl show

init

From

iface enp5s0f0 inet static
    address 10.10.1.250/24
    gateway 10.10.1.1

To

iface enp5s0f0 inet manual

iface br0 inet static
    address 10.10.1.250/24
    gateway 10.10.1.1
    bridge_ports enp5s0f0
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0

Manual, meaning it will not have an IP address assigned directly.