Page MenuHomePhabricator

Build WALinuxAgent
Closed, ResolvedPublic


Kim, we need to have walinuxagent before we can get VyOS on azure
Can you build it
debian maybe have packages already


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close
syncer created this task.May 18 2017, 1:08 PM
higebu added a comment.EditedMay 18 2017, 2:33 PM

I tested VyOS image for Azure with waagent for Debian. But it doesn't work. The installation script for waagent is here:

I think we need to get working some translation of waagent to initial vyos config
it will take a look

@higebu i think we need custom config for waagent
with Provisioning.UseCloudInit=y
This options enables / disables support for provisioning by means of cloud-init. When true ("y"), the agent will wait for cloud-init to complete before installing extensions and processing the latest goal state. Provisioning.Enabled must be disabled ("n") for this option to have an effect. Setting Provisioning.Enabled to true ("y") overrides this option and runs the built-in agent provisioning code.

I seen somewhere that you got cloudinit working on VyOS

@UnicronNL i recall that you already have build waagent
@higebu was able to convert and upload vhd

qemu-img convert -f qcow2 -o subformat=fixed -O vpc vyos-999.201708201154-qemu-image.qcow2 vyos-999.201708201154-hyperv-image-fixed.vhd

He created os disk and it seems VM boots

Now we just need to make custom WAAgent package that will handle provision via cloud-init

syncer added a comment.Sep 7 2017, 3:20 PM

Now as @higebu done T373 we can build custom config for waagent that will do provision via cloud-init mechanism

syncer closed this task as Resolved.
syncer moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.0-rc1) board.