Merge "Remove is_rackspace function from functions-common"
This commit is contained in:
		@@ -527,13 +527,6 @@ function is_arch {
 | 
			
		||||
    [[ "$(uname -m)" == "$1" ]]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# Quick check for a rackspace host; n.b. rackspace provided images
 | 
			
		||||
# have these Xen tools installed but a custom image may not.
 | 
			
		||||
function is_rackspace {
 | 
			
		||||
    [ -f /usr/bin/xenstore-ls ] && \
 | 
			
		||||
        sudo /usr/bin/xenstore-ls vm-data | grep -q "Rackspace"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# Determine if current distribution is a Fedora-based distribution
 | 
			
		||||
# (Fedora, RHEL, CentOS, etc).
 | 
			
		||||
# is_fedora
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user