# Set OS network configuration - This configuration uses named interfaces for ease. - The network topology represents the viable minimum logical networks required to build a multinode(2) cluster (no baremetal provisioning). - The API and PROVIDER networks are on their own physical interfaces, the TUNNEL and STORAGE networks are VLANs on another physical interface. ```sh nano -cw /etc/netplan/00-installer-config.yaml network: version: 2 ethernets: api: match: name: enp0s3 set-name: api addresses: [192.168.30.60/24] gateway4: 192.168.30.1 nameservers: addresses: [192.168.140.2, 192.168.140.1] servicenet: match: name: enp0s8 set-name: servicenet provider: match: name: enp0s9 set-name: provider vlans: tunnel: id: 31 link: servicenet addresses: [192.168.31.60/24] storage: id: 32 link: servicenet addresses: [192.168.32.60/24] ``` The `netplan apply` command will not work with this config owing to the range of changes, reboot the node. # Disable annoyances ```sh systemctl stop ufw apparmor systemctl disable ufw apparmor ``` # Setup service account / sudoers ``` groupadd -r -g 1001 openstack && useradd -r -u 1001 -g 1001 -m -s /bin/bash openstack echo "%openstack ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/openstack chmod 0440 /etc/sudoers.d/openstack passwd openstack # password is Password0 exit ```