We're interested in supporting network configuration of lxc containers via maas/cloud-init yaml format.
The end goal is to do: $ lxc init xenial x1 # enter into container and modify /var/lib/cloud/seed/nocloud-net/network-config # to have something like:
% cat /var/lib/cloud/seed/nocloud-net/network-config version: 1 config: - type: physical mac_address: "00:16:3e:3b:01:7a" name: foo2 subnets: - type: dhcp control: auto
$ lxc start x1 $ lxc exec x1 /bin/bash
From inside we expect to have a device named 'foo2' at this point that has dhcp'd.
ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: udev 229-4ubuntu4 ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6 Uname: Linux 4.4.0-21-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Fri May 6 15:42:52 2016 MachineType: LENOVO 33672B7 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=19ac97d5-6973-4193-9a09-2e6bbfa38262 ro quiet splash vt.handoff=7 SourcePackage: systemd UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/18/2013 dmi.bios.vendor: LENOVO dmi.bios.version: G8ET96WW (2.56 ) dmi.board.asset.tag: Not Available dmi.board.name: 33672B7 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG8ET96WW(2.56):bd12/18/2013:svnLENOVO:pn33672B7:pvrThinkPadX131e:rvnLENOVO:rn33672B7:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 33672B7 dmi.product.version: ThinkPad X131e dmi.sys.vendor: LENOVO
We're interested in supporting network configuration of lxc containers via maas/cloud-init yaml format.
The end goal is to do: cloud/seed/ nocloud- net/network- config
$ lxc init xenial x1
# enter into container and modify /var/lib/
# to have something like:
% cat /var/lib/ cloud/seed/ nocloud- net/network- config
version: 1
config:
- type: physical
mac_address: "00:16:3e:3b:01:7a"
name: foo2
subnets:
- type: dhcp
control: auto
$ lxc start x1
$ lxc exec x1 /bin/bash
From inside we expect to have a device named 'foo2' at this point that has dhcp'd.
ProblemType: Bug ature: Ubuntu 4.4.0-21.37-generic 4.4.6 256color /boot/vmlinuz- 4.4.0-21- generic. efi.signed root=UUID= 19ac97d5- 6973-4193- 9a09-2e6bbfa382 62 ro quiet splash vt.handoff=7 asset.tag: Not Available asset.tag: No Asset Information version: Not Available bvrG8ET96WW( 2.56):bd12/ 18/2013: svnLENOVO: pn33672B7: pvrThinkPadX131 e:rvnLENOVO: rn33672B7: rvrNotDefined: cvnLENOVO: ct10:cvrNotAvai lable: version: ThinkPad X131e
DistroRelease: Ubuntu 16.04
Package: udev 229-4ubuntu4
ProcVersionSign
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Fri May 6 15:42:52 2016
MachineType: LENOVO 33672B7
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/18/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G8ET96WW (2.56 )
dmi.board.
dmi.board.name: 33672B7
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 33672B7
dmi.product.
dmi.sys.vendor: LENOVO