<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Jecel.  Sounds like something I'll have to come back to.<div><br><div><div>On 14/06/2008, at 5:54 AM, Jecel Assumpcao Jr wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="background-color: rgb(255, 255, 255); "><div id="ygrp-mlmsg" style="width: 655px; position: relative; font-size: 13px; font-family: arial, helvetica, clean, sans-serif; "><div id="ygrp-msg" style="width: 470px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 25px; padding-bottom: 0px; padding-left: 0px; float: left; z-index: 1; line-height: 1.22em; "><div id="ygrp-text" style="line-height: 1.22em; font-family: Georgia; "><p style="line-height: 1.22em; margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; ">Russell Allen wrote on Wed, 11 Jun 2008 19:39:17 +1000:<br style="line-height: 1.22em; ">> So I have worked out that I can load my module with:<br style="line-height: 1.22em; ">> bootstrap read: 'webserver' from: 'applications'<br style="line-height: 1.22em; ">> and file it out with:<br style="line-height: 1.22em; ">> modules webserver fileOut<br style="line-height: 1.22em; ">> Is there any way to remove my module from the image, reverting to a nice, clean webserver-less image?<br style="line-height: 1.22em; "><br style="line-height: 1.22em; ">I don't think this has been implemented. Given the annotations that<br style="line-height: 1.22em; ">every module has, this should be a lot easier to do than when you file<br style="line-height: 1.22em; ">in stuff with random expressions. Though a single module doesn't save<br style="line-height: 1.22em; ">the values it modified when loading, if you could look at all other<br style="line-height: 1.22em; ">modules and the initial values they define you should be able to figure<br style="line-height: 1.22em; ">out how to restore stuff. But this would require knowing the exact order<br style="line-height: 1.22em; ">in while all present modules were loaded in case multiple modules<br style="line-height: 1.22em; ">changed the same thing with different values.<br style="line-height: 1.22em; "><br style="line-height: 1.22em; ">This, of course, is the general case. For the typical case a new module<br style="line-height: 1.22em; ">only adds stuff without changing what was there before. Removing that<br style="line-height: 1.22em; ">should be pretty simple.<br style="line-height: 1.22em; "><br style="line-height: 1.22em; ">-- Jecel<br style="line-height: 1.22em; "></p></div><span width="1" style="color: white; line-height: 1.22em; "></span></div></span></blockquote></div><br></div></body></html>