On Thu, Oct 08, 2009 at 10:54:11AM -0000, Colin Watson wrote:
>On Thu, Oct 08, 2009 at 10:48:12AM -0000, Soren Hansen wrote:
>> On Mon, Oct 05, 2009 at 11:10:25AM -0000, Colin Watson wrote:
>>> + def install_bootloader_cleanup(self):
>>> + self.vm.cancel_cleanup(self.install_bootloader_cleanup)
>>
>> Clever! I can think of a bunch of places this would be useful.
> Not my idea, actually; I borrowed it from
> VMBuilder.disk.Filesystem.umount. :-)
Wow, and "bzr blame" says I wrote that bit. Talk about a brief moment of
clarity :)
--
Soren Hansen |
Lead virtualisation engineer | Ubuntu Server Team
Canonical Ltd. | http://www.ubuntu.com/
On Thu, Oct 08, 2009 at 10:54:11AM -0000, Colin Watson wrote: bootloader_ cleanup( self): cancel_ cleanup( self.install_ bootloader_ cleanup) disk.Filesystem .umount. :-)
>On Thu, Oct 08, 2009 at 10:48:12AM -0000, Soren Hansen wrote:
>> On Mon, Oct 05, 2009 at 11:10:25AM -0000, Colin Watson wrote:
>>> + def install_
>>> + self.vm.
>>
>> Clever! I can think of a bunch of places this would be useful.
> Not my idea, actually; I borrowed it from
> VMBuilder.
Wow, and "bzr blame" says I wrote that bit. Talk about a brief moment of
clarity :)
-- www.ubuntu. com/
Soren Hansen |
Lead virtualisation engineer | Ubuntu Server Team
Canonical Ltd. | http://