backups: remove "skip dom0" option (#791)
User always can choose (or not) dom0 on the VMs selection page.
This commit is contained in:
		
							parent
							
								
									0454524d93
								
							
						
					
					
						commit
						4f7d3451b2
					
				@ -118,9 +118,6 @@ class RestoreVMsWindow(Ui_Restore, QWizard):
 | 
			
		||||
    def on_ignore_uname_mismatch_toggled(self, checked):
 | 
			
		||||
        self.restore_options['ignore-username-mismatch'] = checked
 | 
			
		||||
 | 
			
		||||
    def on_skip_dom0_toggled(self, checked):
 | 
			
		||||
        self.restore_options['dom0-home'] = checked
 | 
			
		||||
 | 
			
		||||
    def cleanupPage(self, p_int):
 | 
			
		||||
        if self.page(p_int) is self.select_vms_page:
 | 
			
		||||
            self.vms_to_restore = None
 | 
			
		||||
@ -170,9 +167,6 @@ class RestoreVMsWindow(Ui_Restore, QWizard):
 | 
			
		||||
        if 'ignore-username-mismatch' in self.restore_options:
 | 
			
		||||
            self.ignore_uname_mismatch.setChecked(self.restore_options['ignore-username-mismatch'])
 | 
			
		||||
 | 
			
		||||
        if 'dom0-home' in self.restore_options:
 | 
			
		||||
            self.skip_dom0.setChecked(self.restore_options['dom0-home'])
 | 
			
		||||
 | 
			
		||||
    def gather_output(self, s):
 | 
			
		||||
        self.func_output.append(s)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -56,13 +56,6 @@
 | 
			
		||||
         </property>
 | 
			
		||||
        </widget>
 | 
			
		||||
       </item>
 | 
			
		||||
       <item row="0" column="1">
 | 
			
		||||
        <widget class="QCheckBox" name="skip_dom0">
 | 
			
		||||
         <property name="text">
 | 
			
		||||
          <string>skip dom0</string>
 | 
			
		||||
         </property>
 | 
			
		||||
        </widget>
 | 
			
		||||
       </item>
 | 
			
		||||
       <item row="1" column="0">
 | 
			
		||||
        <widget class="QCheckBox" name="ignore_uname_mismatch">
 | 
			
		||||
         <property name="toolTip">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user