Browse code

Remove is_rackspace function from functions-common

is_rackspace function never used and can be removed from code.

Change-Id: Ic5d1dc419bdea3619fe248afad027e7d7c602b4f
Closes-Bug: #1394076

Oleg Gashev authored on 2014/11/19 14:29:03
Showing 1 changed files
... ...
@@ -499,13 +499,6 @@ function is_arch {
499 499
     [[ "$(uname -m)" == "$1" ]]
500 500
 }
501 501
 
502
-# Quick check for a rackspace host; n.b. rackspace provided images
503
-# have these Xen tools installed but a custom image may not.
504
-function is_rackspace {
505
-    [ -f /usr/bin/xenstore-ls ] && \
506
-        sudo /usr/bin/xenstore-ls vm-data | grep -q "Rackspace"
507
-}
508
-
509 502
 # Determine if current distribution is a Fedora-based distribution
510 503
 # (Fedora, RHEL, CentOS, etc).
511 504
 # is_fedora