Change the customization directory
authorIustin Pop <iustin@google.com>
Wed, 3 Mar 2010 08:50:12 +0000 (09:50 +0100)
committerIustin Pop <iustin@google.com>
Wed, 10 Mar 2010 17:23:50 +0000 (18:23 +0100)
commitf79e471d4a48a914a74497f2806d7cc54f6cd4b0
treef1814e2d40ef8a5a78f3723889bec6b348491ae8
parent5234a6a780067c3d92669cec0cb202421f6014cf
Change the customization directory

The current customization directory is
“$sysconfdir/ganeti/instance-debootstrap.d”. Recently, the variants
support has added the variants configuration as
“$sysconfdir/ganeti/instance-debootstrap/variants/default.conf”. This
means we have two, very similar (instance-debootstrap.d vs.
instance-debootstrap) directories under ganeti.

This patch changes the customize directory to
$sysconfdir/ganeti/instance-debootstrap/hooks. It is more in line with
Ganeti's own hooks naming, and removes the old “.d” directory, for a
more sane layout.

People upgrading, with the default (commented-out) CUSTOMIZE_DIR will
need to rename their on-disk directory.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
README
common.sh.in
defaults
example/hooks/grub [moved from example/instance-debootstrap.d/grub with 100% similarity]
example/hooks/interfaces [moved from example/instance-debootstrap.d/interfaces with 100% similarity]