Lines Matching refs:default

273         instances this boot instance entry will be placed.  The default
299 if boot_instance.default is True:
300 # Find previous default (if any)
302 if x.default is True]
305 self._debug("Previous default was:\n%s", prevDefault)
330 prevDefault.default = False
558 # default bootfs, check the root pool's bootfs property and use
562 if inst.default is True]
565 self._debug('This BootConfig already has a default boot instance')
568 # Get the default bootfs for this root pool:
573 # If there is no default or we couldn't get it, bail
585 # set the first as default
587 default_instances[0].default = True
599 # Look for the default boot instance. If there is none, use the first
603 if inst.default is True:
608 self._debug('No default boot instance found-- using first one')
785 # Valid attributes ('default' is a special case)
802 # either current or default values, so the copy has all
817 # it; overwise, set it to the default set from this class
831 # init it to a default value here
839 # init it to a default value here
851 def default(self):
855 """Returns a dictionary of default attributes
858 defattr['default'] = False
871 # default is a special case, and is not covered by default_attributes:
872 retdict['default'] = self.default
881 other. The 'default' property IS NOT updated."""
909 if cmp_default and self.default != other.default:
926 """By setting this BootInstance to be the default, the previous default
929 locating the previous default, and setting it to False. Note that
930 only setting the default to True triggers this search (otherwise, we
934 raise BootmgmtArgumentError('default must be either True or False')
946 if not inst is self and inst.default is True:
947 self._debug('Found previous default -- clearing it')
950 inst.default = False
955 # and no previous default was found, so mark the BootConfig dirty
974 """Returns the platform-specific default-attribute dict (if it exists)
1000 defined in child classes and this class). 'default' is treated
1003 if key == 'default':
1013 """Delete an attribute from this BootInstance. 'default' is treated
1016 if key == 'default':
1017 self._debug('delete key="default"')
1033 if self.default is True: # only print default if it's True
1034 s += 'default = True\n'
1084 """Returns a dictionary of default attributes
1173 # it; overwise, set it to the default set from this class
1194 """Returns a dictionary of default attributes
1235 # it; overwise, set it to the default set from this class
1260 """Returns the default title string from the bootfs, if any, or None
1268 """Returns a dictionary of default attributes