Stephen, I've just tested this on trusty images on azure b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu_DAILY_BUILD-trusty-14_04_5-LTS-amd64-server-20170118-en-us-30GB and also in openstack (serial 20170112), and found both working.
I just launched instance with the user-data in the description and verified swap is set up and /mnt2 is mounted. If you find otherwise, please provide some more info. Scott -- 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