mirror of
https://github.com/ceph/ceph
synced 2025-01-08 12:10:20 +00:00
3aae5ca6fd
/bin/bash is a Linuxism. Other operating systems install bash to different paths. Use /usr/bin/env in shebangs to find bash. Signed-off-by: Alan Somers <asomers@gmail.com>
18 lines
554 B
Bash
Executable File
18 lines
554 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -f
|
|
|
|
#
|
|
# Remotely setup the stuff needed to run packstack. This should do items 1-4 in
|
|
# https://docs.google.com/document/d/1us18KR3LuLyINgGk2rmI-SVj9UksCE7y4C2D_68Aa8o/edit?ts=56a78fcb
|
|
#
|
|
yum remove -y rhos-release
|
|
rpm -ivh http://rhos-release.virt.bos.redhat.com/repos/rhos-release/rhos-release-latest.noarch.rpm
|
|
rm -rf /etc/yum.repos.d/*
|
|
rm -rf /var/cache/yum/*
|
|
rhos-release 8
|
|
yum update -y
|
|
yum install -y nc puppet vim screen setroubleshoot crudini bpython openstack-packstack
|
|
systemctl disable ntpd
|
|
systemctl stop ntpd
|
|
reboot
|