Skip to content
Permalink
Browse files

bootstrap script for ubuntu

  • Loading branch information...
jacobgorm committed Nov 14, 2017
1 parent 388c889 commit dc3cf7765a9fd883e5d829d88d005d56cf8b3cba
Showing with 19 additions and 0 deletions.
  1. +19 −0 bootstrap.sh
@@ -0,0 +1,19 @@
sudo apt-get -y install cmake ninja-build liblz4-dev libb2-dev libcurl4-gnutls-dev uuid-dev
https://storage.googleapis.com/coqni/top.lvl

mkdir -p dev &&\
cd dev &&\
git clone https://jacobgorm@bitbucket.org/jacobgorm/oneroot.git &&\
cd oneroot && \
make

mkdir -p swapdata-2cde296d-1900-45e3-857d-0a3cfb42ae87
(cd swapdata-2cde296d-1900-45e3-857d-0a3cfb42ae87; wget https://storage.googleapis.com/coqni/top.lvl)

echo >foo.swap 'uuid=2cde296d-1900-45e3-857d-0a3cfb42ae87'
echo >>foo.swap 'size=104857600'
echo >>foo.swap 'fallback=https://s3-eu-west-1.amazonaws.com/coqni'
echo >>foo.swap 'fallback=https://storage.googleapis.com/coqni'

sudo modprobe nbd
sudo ./build/oneroot foo.swap

0 comments on commit dc3cf77

Please sign in to comment.
You can’t perform that action at this time.