Commit 8649aa28 authored by Jialin Li's avatar Jialin Li
Browse files

images: add nopaxos and dependencies to image

parent ca4e4f20
f 1
replica 10.1.0.1:12345
replica 10.1.0.2:12345
replica 10.1.0.3:12345
multicast 10.1.0.255:12345
#!/bin/bash -eux
git clone https://github.com/google/protobuf.git /tmp/protobuf
cd /tmp/protobuf
./autogen.sh
./configure
make -j4
make install
ldconfig
mkdir -p /root
git clone https://github.com/UWSysLab/NOPaxos.git /root/nopaxos
cd /root/nopaxos
make -j4
...@@ -14,6 +14,16 @@ ntp ...@@ -14,6 +14,16 @@ ntp
nfs-common nfs-common
iperf iperf
netcat netcat
make
git
pkg-config
libevent-dev
libunwind-dev
autoconf
automake
libtool
g++
libssl-dev
" "
if [[ $INSTALL_DEV_PACKAGES =~ true || $INSTALL_DEV_PACKAGES =~ 1 || if [[ $INSTALL_DEV_PACKAGES =~ true || $INSTALL_DEV_PACKAGES =~ 1 ||
......
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
"scripts/sshd.sh", "scripts/sshd.sh",
"scripts/update.sh", "scripts/update.sh",
"scripts/packages.sh", "scripts/packages.sh",
"scripts/install.sh",
"scripts/cleanup.sh" "scripts/cleanup.sh"
], ],
"type": "shell" "type": "shell"
...@@ -89,6 +90,16 @@ ...@@ -89,6 +90,16 @@
"destination": "/home/ubuntu/guestinit.sh", "destination": "/home/ubuntu/guestinit.sh",
"direction": "upload" "direction": "upload"
}, },
{
"type": "file",
"source": "nopaxos.config",
"destination": "/tmp/nopaxos.config",
"direction": "upload"
},
{
"type": "shell",
"inline": ["sudo mv /tmp/nopaxos.config /root/nopaxos.config"]
},
{ {
"type": "file", "type": "file",
"source": "m5", "source": "m5",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment