AlexVeeBee's Wiki

Make sure you are running as admin by running sudo su

Netowrking / Static IP

  1. Login as admin
  2. edit the config

Make sure the cloud.cfg.d is set to disabled.

sudo nano /etc/cloud/cloud.cfg.d/subiquity-disable-cloudinit-networking.cfg

Check which ipv4 you are using and note the network adapter.

sudo nano /etc/netplan/00-installer-config.yaml

configs

If you made a mistake, you can use this default config

# vmware only
network:
  ethernets:
    ens33:
      dhcp4: true
  version: 2

Put this in your network config with adjustments to your ipv4 and gateway

network:
  version: 2
  renderer: networkd # or NetworkManager
  ethernets:
    ens33:
      addresses: [ "192.168.1.x/24" ]
      nameservers:
#       search: [sub.domain.tld, domain.tld]
       addresses: [1.1.1.1, 1.0.0.1]
      routes:
       - to: 0.0.0.0/0
         via: 192.168.1.254
         on-link: true
  1. apply the networking
sudo netplan apply

Ubuntu archive listing

  1. login as admin
  2. edit the listing
sudo nano /etc/apt/sources.list
  1. try chosing another location for where you download packages and update
  2. after you are done run
sudo apt updater
sudo apt full-upgrade