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
Description
Details
- Difficulty level
- Normal (likely a few hours)
- Version
- Current
- Why the issue appeared?
- Will be filled on close
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | FEATURE REQUEST | UnicronNL | T164 Create image for MicroSoft Azure | ||
Resolved | UnicronNL | T308 Build WALinuxAgent |
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
Now we just need to make custom WAAgent package that will handle provision via cloud-init