Revision 0d5a999d image_creator/disk.py

b/image_creator/disk.py
86 86
        self.bootable = bootable
87 87

  
88 88
        self.g = guestfs.GuestFS()
89

  
90
        self.g.set_trace(1)
91

  
89 92
        self.g.add_drive_opts(device, readonly = 0)
90 93
        self.g.launch()
91 94
        roots = self.g.inspect_os()
......
106 109
        del self.g
107 110
    
108 111
    def mount(self):
109
        mps = g.inspect_get_mountpoints(self.root)
112
        mps = self.g.inspect_get_mountpoints(self.root)
110 113
        # Sort the keys to mount the fs in a correct order.
111 114
        # / should be mounted befor /boot, etc
112 115
        def compare (a, b):

Also available in: Unified diff