Public bug reported: In the Xenial cloud image (xenial-server-cloudimg-amd64-disk1.img), scripts embedded into user-data don't run. After installing python-minimal, and the python-pkg-resources package, it works, even it is a bash script.
Seems cloud-init requires /usr/bin/python and the python-pkg-resources package to run the user-data script. ** Affects: cloud-init (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577787 Title: User-data scripts are not executing in Xenial Cloud Image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1577787/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs