LXD: proxy

lxc launch ubuntu:20.04 proxy
 
cat <<EOF> /etc/netplan/50-cloud-init.yaml 
network:
  version: 2
  ethernets:
    eth0:
      dhcp4: true
      #optional: true
      dhcp4-overrides:
        use-dns: false
        use-routes: false
 
  wifis:
    eth1:
      dhcp4: true
      access-points:
        "foo-wifi":
           password: "pass1234"
EOF
 
lxc config device remove proxy eth1 
 
lxc config device add proxy eth1 nic nictype=physical parent=wlx001f1f283377