 341bbb4ef3
			
		
	
	
		341bbb4ef3
		
	
	
	
	
		
			
			Currently additional steps are needed (those have to be done manually): - allow writing to /var/lib/qubes - copy /etc/qubes/storage.conf
		
			
				
	
	
		
			16 lines
		
	
	
		
			446 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			446 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """mock libvirt module
 | |
| 
 | |
| WARNING: you did not import real libvirt module
 | |
| 
 | |
| This is needed, because we don't currently ship libvirt-python for templates.
 | |
| The module contains libvirtError and openReadOnly() function, which
 | |
| does nothing and raises the aforementioned exception. More functions can be
 | |
| added as needed.
 | |
| """
 | |
| 
 | |
| class libvirtError(Exception):
 | |
|     pass
 | |
| 
 | |
| def openReadOnly(*args, **kwargs):
 | |
|     raise libvirtError('mock module, always raises')
 |