/srv/irclogs.ubuntu.com/2017/11/02/#cloud-init.txt

=== shardy is now known as shardy_lunch
=== shardy_lunch is now known as shardy
smoserrharper, powersj i'm running "full" run of lxc and nocloud against my current https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33305918:05
rharpernice18:07
smoserhmm.18:07
smoseri tihnk that launchpad got hosed on that18:08
smoserit doesn't knwo of any of muh newer pushes18:08
smoseroh wait.18:08
smoserstale page18:08
smoserand look at this:18:16
smoser 21 files changed, 319 insertions(+), 327 deletions(-)18:16
bdxhello22:23
bdxare there any examples out there of network interface configuration for the nocloud datasource22:24
bdx?22:24
bdxfor example, does network device configuration get its own file, network-config?22:25
bdxor do I add it in with the meta-data with a top level header "network:"22:25
bdxfew discrepancies it would be nice to clear up22:25
bdxoh .. nm22:28
bdxjust found it22:28
bdxin the docs :P22:29
dpb1:)22:30
smoserbdx: network-config22:35
smoserand no top level 'network' key (since that is implied as ait is in 'network-config')22:35
bdxsmoser: yeah ... I think I'm hitting a possible bug see line 3 http://paste.ubuntu.com/25875749/22:36
bdxI think I'm setting it correctly22:37
bdxI'm doing as you (and the docs) say22:37
bdxand it seems to be taking it, but like, not taking it22:37
bdxnetwork-config < http://paste.ubuntu.com/25875757/22:38
bdxpossibly there is something I need to do to make the network-config run after the creation of the device...22:40
bdxpossibly I need to use version 222:40
bdxahh, I think I see whats going on22:54
bdxI need to target an existing mac address22:54
bdxcloud-init isn't creating a new device, its configuring an existing device22:56
bdxoh, yea!23:00
bdxthe key thing was that I had to create the vm with a defined mac address ANDd have attached a config drive with network-config with the same mac address I used when creating the vm23:02
bdxyeah, nm23:03
bdxstill didn't work23:03
bdxso, whats I did find23:07
bdxis that when I made the mac address of the vm match the mac address in the network-config, I get a clean cloud-init log23:07
bdxhttp://paste.ubuntu.com/25875903/23:07
bdxso cloud-init is finding the device now23:08
bdxit seems23:08
bdxit still isn't getting configured though23:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!