dist: add scylla-jmx for AMI

Signed-off-by: Takuya ASADA <syuu@cloudius-systems.com>
This commit is contained in:
Takuya ASADA
2015-09-16 09:51:25 +00:00
committed by Avi Kivity
parent 476af33ee7
commit 74dafdf8eb
3 changed files with 8 additions and 2 deletions

View File

@@ -21,6 +21,11 @@ if [ ! -f files/scylla-server.rpm ] || [ ! -f files/scylla-server-debuginfo.rpm
cd -
fi
if [ ! -f files/scylla-jmx.rpm ]; then
echo "copy files/scylla-jmx.rpm before building AMI"
exit 1
fi
if [ ! -d packer ]; then
wget https://dl.bintray.com/mitchellh/packer/packer_0.8.6_linux_amd64.zip
mkdir packer

View File

@@ -20,3 +20,5 @@ chown scylla:scylla /data/*
systemctl disable scylla-setup.service
systemctl enable scylla-server.service
systemctl start scylla-server.service
systemctl enable scylla-jmx.service
systemctl start scylla-jmx.service

View File

@@ -25,8 +25,7 @@
"type": "shell",
"inline": [
"sudo dnf update -y",
"sudo dnf install -y /home/fedora/scylla-server.rpm",
"sudo dnf install -y /home/fedora/scylla-server-debuginfo.rpm",
"sudo dnf install -y /home/fedora/*.rpm",
"sudo dnf install -y mdadm xfsprogs",
"sudo cp /home/fedora/coredump.conf /etc/systemd/coredump.conf",
"sudo mv /home/fedora/scylla-setup.service /usr/lib/systemd/system",