On Tue, Mar 14, 2017 at 8:49 PM, <claude.duroc...@sct.gouv.qc.ca> wrote:
> #cloud-config.yml > network: > version: 1 > config: > - type: physical > name: eth0 > subnets: > - type: static > ipv4: true > address: 10.10.10.20 > netmask: 255.255.255.0 > gateway: 10.10.10.1 > control: auto > - type: nameserver > address: 10.10.10.1 > > I'm launching the container on Ubuntu 16.04 (v2.0.9) with the following: > > lxc launch ubuntu: CONTAINER -c user.network-config="$(cat > cloud-config.yml)" You put too much into the network-config file, remove "network": version: 1 config: - type ..... cheerio, S. _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users