mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	Merge remote-tracking branch 'origin/master'
This commit is contained in:
		
						commit
						aba3e5d714
					
				
					 2 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -375,7 +375,7 @@ __check_end_of_life_versions
 | 
			
		|||
#
 | 
			
		||||
install_centos() {
 | 
			
		||||
    if [ $DISTRO_MAJOR_VERSION -ge 6 ]; then
 | 
			
		||||
        yum -y install qemu-kvm libvirt bridge-utils python-libguestfs supervisor || return 1
 | 
			
		||||
        yum -y install qemu-kvm libvirt bridge-utils python-libguestfs supervisor cyrus-sasl-md5 || return 1
 | 
			
		||||
    fi
 | 
			
		||||
    return 0
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -401,6 +401,13 @@ install_centos_post() {
 | 
			
		|||
        echoerror "/etc/libvirt/qemu.conf not found. Exiting..."
 | 
			
		||||
        exit 1
 | 
			
		||||
    fi
 | 
			
		||||
    if [ -f /etc/sasl2/libvirt.conf ]; then
 | 
			
		||||
        sed -i 's/: gssapi/: digest-md5/g' /etc/sasl2/libvirt.conf
 | 
			
		||||
        sed -i 's/#sasldb_path/sasldb_path/g' /etc/sasl2/libvirt.conf
 | 
			
		||||
    else
 | 
			
		||||
        echoerror "/etc/sasl2/libvirt.conf not found. Exiting..."
 | 
			
		||||
        exit 1
 | 
			
		||||
    fi
 | 
			
		||||
    if [ $DISTRO_MAJOR_VERSION -lt 7 ]; then
 | 
			
		||||
        if [ -f /etc/supervisord.conf ]; then
 | 
			
		||||
            curl https://raw.githubusercontent.com/retspen/webvirtcloud/master/conf/daemon/gstfsd > /usr/local/bin/gstfsd
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -45,7 +45,7 @@ MIDDLEWARE_CLASSES = (
 | 
			
		|||
)
 | 
			
		||||
 | 
			
		||||
AUTHENTICATION_BACKENDS = (
 | 
			
		||||
    #'django.contrib.auth.backends.RemoteUserBackend',
 | 
			
		||||
    'django.contrib.auth.backends.RemoteUserBackend',
 | 
			
		||||
    #'accounts.backends.MyRemoteUserBackend',
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue