Hi, I uploaded a fix for bug 1460715 to xenial-proposed. It is still in the queue, and hopefully will be accepted into xenial-proposed soon.
Once 0.7.8-49-g9e904bb-0ubuntu1~16.04.2 is available the example cloud- config above will successfully enable swap, and the /mnt2 filesystem will be created. There is still an issue that /mnt2 will not be mounted on the first boot. A 'mount -a' or 'mount /mnt2' would fix that. I'll work further and get a fix in that will do that correctly and mark *that* chang to fix this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642383 Title: Unable to configure swap space on ephemeral disk in Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1642383/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs