Page MenuHomeVyOS Platform

Build WALinuxAgent
Closed, ResolvedPublic

Description

Kim, we need to have walinuxagent before we can get VyOS on azure
Can you build it
https://github.com/Azure/WALinuxAgent
debian maybe have packages already

Details

Difficulty level
Normal (likely a few hours)
Version
Current
Why the issue appeared?
Will be filled on close

Event Timeline

I tested VyOS image for Azure with waagent for Debian. But it doesn't work. The installation script for waagent is here: https://github.com/higebu/vyos-build/blob/c53c52c25979a50c20bfc1225a22eae66a9f031a/scripts/packer-scripts/azure.sh

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

azure.png (258×1 px, 28 KB)

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

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

syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
syncer moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.0-rc1) board.