Merge "Remove is_rackspace function from functions-common"

This commit is contained in:
Jenkins 2015-02-19 01:11:54 +00:00 committed by Gerrit Code Review
commit 7591be5466

View File

@ -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