def __init__(self, config): Extension.__init__(self, config) self.fn = "{path}/{dir}/{file}".format( path=self.config["boot/path"], dir=self.config["grub-legacy/dir"], file=self.config["grub-legacy/file"]) self.bootitems = []
def __init__(self, config, testing = False): Extension.__init__(self,config) self.grubpath = "{path}/{dir}".format(path = self.config["boot/path"], dir = self.config["syslinux/dir"]) self.fn = "{path}/{file}".format(path = self.grubpath, file = self.config["syslinux/file"]) self.bootitems = [] self.testing = testing self.defpos = 0 self.defname = "undefined"
def __init__(self, config, testing = False): Extension.__init__(self,config) self.grubpath = "{path}/{dir}".format(path = self.config["boot/path"], dir = self.config["grub/dir"]) self.fn = "{path}/{file}".format(path = self.grubpath, file = self.config["grub/file"]) self.bootitems = [] self.testing = testing self.GuppyMap() self.defpos = 0 self.defname = "undefined" if os.path.exists("/sys/firmware/efi"): self.uefiboot = True else: self.uefiboot = False
def __init__(self, config, testing=False): Extension.__init__(self, config) self.grubpath = "{path}/{dir}".format(path=self.config["boot/path"], dir=self.config["grub/dir"]) self.fn = "{path}/{file}".format(path=self.grubpath, file=self.config["grub/file"]) self.bootitems = [] self.testing = testing self.GuppyMap() self.defpos = 0 self.defname = "undefined" if os.path.exists("/sys/firmware/efi"): self.uefiboot = True else: self.uefiboot = False
def __init__(self,config): Extension.__init__(self,config) self.fn = "{path}/{dir}/{file}".format(path = self.config["boot/path"], dir = self.config["grub-legacy/dir"], file = self.config["grub-legacy/file"]) self.bootitems = []
def __init__(self,config): Extension.__init__(self,config) self.fn = self.config["lilo/file"] self.lilo_cmd = self.config["lilo/bin"] self.bootitems = []