Make sure you are running as admin by running
sudo su
Netowrking / Static IP
- Login as admin
- 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
- apply the networking
sudo netplan apply
Ubuntu archive listing
- login as admin
- edit the listing
sudo nano /etc/apt/sources.list
- try chosing another location for where you download packages and update
- after you are done run
sudo apt updater
sudo apt full-upgrade