mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			331 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			331 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh -e
 | 
						|
 | 
						|
case "$1" in
 | 
						|
    configure)
 | 
						|
        if ! id cloud > /dev/null 2>&1 ; then
 | 
						|
            adduser --system --home /var/lib/cloud/management --no-create-home \
 | 
						|
                --group --disabled-password --shell /bin/sh cloud
 | 
						|
                # update me in cloud-usage.postinst as well
 | 
						|
        fi
 | 
						|
    ;;
 | 
						|
esac
 | 
						|
 | 
						|
#DEBHELPER#
 |