Revision 0bb376ce README.deploy

b/README.deploy
333 333

  
334 334

  
335 335
11. Installation of the Synnefo Ganeti hook:
336
    The Python script ganeti/snf-ganeti-hook.py is the generic launcher for
337
    Synnefo hooks in Ganeti.  It resides in the ganeti/ directory under the
336
    The bash wrapper ganeti/snf-ganeti-hook is the generic launcher for
337
    Synnefo hooks in Ganeti. It resides in the ganeti/ directory under the
338 338
    root of the Synnefo Django project.
339 339

  
340 340
    The hook needs to be enabled for phases
......
343 343
    on GANETI-MASTER, e.g.:
344 344

  
345 345
    root@ganeti-master:/etc/ganeti/hooks/instance-start-post.d# ls -l
346
    lrwxrwxrwx 1 root root 45 May   3 13:45 00-snf-ganeti-hook -> /home/devel/synnefo/ganeti/snf-ganeti-hook.py*
346
    lrwxrwxrwx 1 root root 45 May   3 13:45 00-snf-ganeti-hook -> /home/devel/synnefo/ganeti/snf-ganeti-hook
347 347

  
348 348
    IMPORTANT: The link name may only contain "upper and lower case, digits,
349 349
    underscores and hyphens. In other words, the regexp ^[a-zA-Z0-9_-]+$."
350 350
    See http://docs.ganeti.org/ganeti/master/html/hooks.html?highlight=hooks#naming.
351 351

  
352
    The script uses the location of the link target to determine the Synnefo
353
    Project root, before passing control to the relevant Python code.
354

  
355
    FIXME: Perhaps require a SYNNEFO_PROJECT_ROOT environment variable?
352
    You need to set SYNNEFO_PROJECT_DIR in ganeti/snf-ganeti-hook. The bash
353
    script modifies PYTHONPATH accordingly, before passing control to the
354
    relevant Python code.
356 355

  
357 356

  
358 357
12. Installation of the VNC authentication proxy, vncauthproxy:

Also available in: Unified diff