Beispiel #1
0
 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 = []
Beispiel #2
0
	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"
Beispiel #3
0
	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
Beispiel #4
0
	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 = []
Beispiel #6
0
	def __init__(self,config):
		Extension.__init__(self,config)
		self.fn = self.config["lilo/file"]
		self.lilo_cmd = self.config["lilo/bin"]
		self.bootitems = []