I recently moved a container from anoter VPS and on starting it the container is not assigned an IPV4 address. How to I get LXD to assign this container a
+------------+---------+-----------------------+-----------------------------------------------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------------+---------+-----------------------+-----------------------------------------------+-----------+-----------+
| haproxy | RUNNING | 10.219.198.175 (eth0) | fd42:6a14:5be6:9d04:216:3eff:fe15:63e0 (eth0) | CONTAINER | 2 |
+------------+---------+-----------------------+-----------------------------------------------+-----------+-----------+
| ubuntu20 | RUNNING | 10.219.198.111 (eth0) | fd42:e06f:a141:765::1 (lxdbr0) | CONTAINER | 1 |
| | | 10.184.90.1 (lxdbr0) | fd42:6a14:5be6:9d04:216:3eff:fe85:d794 (eth0) | | |
+------------+---------+-----------------------+-----------------------------------------------+-----------+-----------+
| ubuntu20-2 | RUNNING | | fd42:6a14:5be6:9d04:216:3eff:feff:8fb7 (eth0) | CONTAINER | 0 |
+------------+---------+-----------------------+-----------------------------------------------+-----------+-----------+
sudo lsof -i :53
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd-r 675 systemd-resolve 12u IPv4 19518 0t0 UDP localhost:domain
systemd-r 675 systemd-resolve 13u IPv4 19519 0t0 TCP localhost:domain (LISTEN)
dnsmasq 2801 lxd 8u IPv4 31319 0t0 UDP on:domain
dnsmasq 2801 lxd 9u IPv4 31320 0t0 TCP on:domain (LISTEN)
dnsmasq 2801 lxd 10u IPv6 31321 0t0 UDP on:domain
dnsmasq 2801 lxd 11u IPv6 31322 0t0 TCP on:domain (LISTEN)
dnsmasq 2801 lxd 12u IPv6 31323 0t0 UDP on:domain
dnsmasq 2801 lxd 13u IPv6 31324 0t0 TCP on:domain (LISTEN)
lxc config show ubuntu20-2
architecture: x86_64
config:
image.architecture: amd64
image.description: ubuntu 20.04 LTS amd64 (release) (20201014)
image.label: release
image.os: ubuntu
image.release: focal
image.serial: "20201014"
image.type: squashfs
image.version: "20.04"
volatile.base_image: e81943d409153d0962e3855b7d9e6c60640571529f47b16eec2da5b4f2ad77ff
volatile.eth0.host_name: veth2ea9e1c9
volatile.eth0.hwaddr: 00:16:3e:ff:8f:b7
volatile.idmap.base: "0"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.power: RUNNING
devices: {}
ephemeral: false
profiles:
- default
stateful: false
description: ""