On Tue, Aug 26, 2014 at 11:44 PM, Nux! <n...@li.nux.ro> wrote: > Hi Erik and thanks for your effort. Using user data is a nice idea. > Let's see what more experienced programmers have to say on this. > > Sure thing
One thing that I noticed; though it might have been OK in your particular > case, "rm -rf /var/lib/cloud/" is a bad idea as it can include various > useful scripts along that path. As you noticed I copy the > cloudstack-set-password script in /var/lib/cloud/scripts/per-boot, so > that's one example. :-) > Guess I should note that this was on a test vm, to force refreshing the user-data. It can probably be done with in a less harmful way. DO NOT DO THIS ON ANYTHING IN PRODUCTION :-) -- Erik