Esempio n. 1
0
        def commit(self):
            from ovirtnode.install import Install

            install = Install()
            boot_setup = install.ovirt_boot_setup()
            if not boot_setup:
                raise RuntimeError("Failed to set install bootloader")
    def commit(self):
        # FIXME
        # This is a hack because the legacy code messes with
        # the config file, so we backup and replay it later
        cfgfile = defaults.NodeConfigFile()
        cfg = cfgfile.get_dict()

        from ovirtnode.install import Install
        install = Install()
        if not install.ovirt_boot_setup():
            raise RuntimeError("Bootloader Installation Failed")
        cfgfile.write(cfg)
    def commit(self):
        # FIXME
        # This is a hack because the legacy code messes with
        # the config file, so we backup and replay it later
        cfgfile = defaults.NodeConfigFile()
        cfg = cfgfile.get_dict()

        from ovirtnode.install import Install
        install = Install()
        if not install.ovirt_boot_setup():
            raise RuntimeError("Bootloader Installation Failed")
        cfgfile.write(cfg)
Esempio n. 4
0
 def commit(self):
     from ovirtnode.install import Install
     install = Install()
     boot_setup = install.ovirt_boot_setup()
     if not boot_setup:
         raise RuntimeError("Failed to set install bootloader")
 def commit(self):
     from ovirtnode.install import Install
     Install()