Browse code

Merge "Remove is_rackspace function from functions-common"

Jenkins authored on 2015/02/19 10:11:54
Showing 1 changed files
... ...
@@ -527,13 +527,6 @@ function is_arch {
527 527
     [[ "$(uname -m)" == "$1" ]]
528 528
 }
529 529
 
530
-# Quick check for a rackspace host; n.b. rackspace provided images
531
-# have these Xen tools installed but a custom image may not.
532
-function is_rackspace {
533
-    [ -f /usr/bin/xenstore-ls ] && \
534
-        sudo /usr/bin/xenstore-ls vm-data | grep -q "Rackspace"
535
-}
536
-
537 530
 # Determine if current distribution is a Fedora-based distribution
538 531
 # (Fedora, RHEL, CentOS, etc).
539 532
 # is_fedora