Hm, I'm slightly concerned about the need for root rights in that script, as it basically forces the "cloud customer" that wants to bundle a UEC image to use a client system on which he has root rights (while he could use any system before). Please post your new script to the ubuntu-devel resize-image thread. Maybe someone creative will come up with a solution that allows to expand the fs in a reliable way without making the whole process dependent on you having root rights.
Hm, I'm slightly concerned about the need for root rights in that script, as it basically forces the "cloud customer" that wants to bundle a UEC image to use a client system on which he has root rights (while he could use any system before). Please post your new script to the ubuntu-devel resize-image thread. Maybe someone creative will come up with a solution that allows to expand the fs in a reliable way without making the whole process dependent on you having root rights.