Remove is_rackspace function from functions-common
is_rackspace function never used and can be removed from code. Change-Id: Ic5d1dc419bdea3619fe248afad027e7d7c602b4f Closes-Bug: #1394076
This commit is contained in:
parent
a74ae5d713
commit
9d09f09802
@ -499,13 +499,6 @@ function is_arch {
|
|||||||
[[ "$(uname -m)" == "$1" ]]
|
[[ "$(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
|
# Determine if current distribution is a Fedora-based distribution
|
||||||
# (Fedora, RHEL, CentOS, etc).
|
# (Fedora, RHEL, CentOS, etc).
|
||||||
# is_fedora
|
# is_fedora
|
||||||
|
Loading…
x
Reference in New Issue
Block a user