Skip to content
Snippets Groups Projects
Commit bd205d0e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Now that we use configure's variables, add --sysconfdir to configure.

Reviewed-by: ultrotter
parent 2ec08468
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,8 @@ For building from source, you also need tar, gzip or bzip2 and make. ...@@ -45,7 +45,8 @@ For building from source, you also need tar, gzip or bzip2 and make.
Installation of the software Installation of the software
============================ ============================
To install, simply do ``./configure --localstatedir=/var && make && make install`` To install, simply do ``./configure --localstatedir=/var --sysconfdir=/etc && \
make && make install``
This will install the software under /usr/local. You then need to copy This will install the software under /usr/local. You then need to copy
ganeti.init to /etc/init.d/ganeti and integrate it into your boot sequence ganeti.init to /etc/init.d/ganeti and integrate it into your boot sequence
......
...@@ -577,7 +577,7 @@ vgextend xenvg /dev/sdd1 ...@@ -577,7 +577,7 @@ vgextend xenvg /dev/sdd1
<screen> <screen>
tar xvzf ganeti-1.2b1.tar.gz tar xvzf ganeti-1.2b1.tar.gz
cd ganeti-1.2b1 cd ganeti-1.2b1
./configure --localstatedir=/var ./configure --localstatedir=/var --sysconfdir=/etc
make make
make install make install
mkdir /srv/ganeti/ /srv/ganeti/os /srv/ganeti/export mkdir /srv/ganeti/ /srv/ganeti/os /srv/ganeti/export
...@@ -585,7 +585,7 @@ mkdir /srv/ganeti/ /srv/ganeti/os /srv/ganeti/export ...@@ -585,7 +585,7 @@ mkdir /srv/ganeti/ /srv/ganeti/os /srv/ganeti/export
<para> <para>
You also need to copy the file You also need to copy the file
<filename>docs/examples/ganeti.initd</filename> <filename>doc/examples/ganeti.initd</filename>
from the source archive to from the source archive to
<filename>/etc/init.d/ganeti</filename> and register it with <filename>/etc/init.d/ganeti</filename> and register it with
your distribution's startup scripts, for example in Debian: your distribution's startup scripts, for example in Debian:
...@@ -597,7 +597,7 @@ mkdir /srv/ganeti/ /srv/ganeti/os /srv/ganeti/export ...@@ -597,7 +597,7 @@ mkdir /srv/ganeti/ /srv/ganeti/os /srv/ganeti/export
to setup a cron job run the to setup a cron job run the
<computeroutput>ganeti-watcher</computeroutput> program. A <computeroutput>ganeti-watcher</computeroutput> program. A
sample cron file is provided in the source at sample cron file is provided in the source at
<filename>docs/examples/ganeti.cron</filename> and you can <filename>doc/examples/ganeti.cron</filename> and you can
copy that (eventually altering the path) to copy that (eventually altering the path) to
<filename>/etc/cron.d/ganeti</filename> <filename>/etc/cron.d/ganeti</filename>
</para> </para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment