Remove references to os-config-applier
Change last references to os-config-applier (scripts, file names and documentation) in os-apply-config element. Change-Id: Ifa46522a48668adcef0d1fd5d28d2fc85141dce5
This commit is contained in:
parent
f41dec796e
commit
884ab16968
|
@ -1,6 +1,6 @@
|
||||||
Install os-apply-config.
|
Install os-apply-config.
|
||||||
|
|
||||||
The contents of any os-config-applier or os-apply-config subdirectories in
|
The contents of os-apply-config subdirectory in templates will be installed
|
||||||
templates will be installed into the default template directory automatically.
|
into the default template directory automatically.
|
||||||
|
|
||||||
An os-refresh-config hook is created to invoke os-apply-config automatically.
|
An os-refresh-config hook is created to invoke os-apply-config automatically.
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Note that this relies on the detail that all elements share one dir
|
# Note that this relies on the detail that all elements share one dir
|
||||||
# inside the chroot. This will copy all the files that elements have
|
# inside the chroot. This will copy all the files that elements have
|
||||||
# added to element/os-config-applier or element/os-apply-config into the
|
# added to element/os-apply-config into the appropriate location.
|
||||||
# appropriate location.
|
|
||||||
set -eux
|
set -eux
|
||||||
TEMPLATE_ROOT=$(os-apply-config --print-templates)
|
TEMPLATE_ROOT=$(os-apply-config --print-templates)
|
||||||
TEMPLATE_SOURCE=$(dirname $0)/../os-config-applier
|
|
||||||
mkdir -p $TEMPLATE_ROOT
|
|
||||||
|
|
||||||
[ -d $TEMPLATE_SOURCE ] && rsync --exclude='.*.swp' -Cr $TEMPLATE_SOURCE/ $TEMPLATE_ROOT/
|
|
||||||
TEMPLATE_SOURCE=$(dirname $0)/../os-apply-config
|
TEMPLATE_SOURCE=$(dirname $0)/../os-apply-config
|
||||||
|
|
||||||
|
mkdir -p $TEMPLATE_ROOT
|
||||||
[ -d $TEMPLATE_SOURCE ] && rsync --exclude='.*.swp' -Cr $TEMPLATE_SOURCE/ $TEMPLATE_ROOT/
|
[ -d $TEMPLATE_SOURCE ] && rsync --exclude='.*.swp' -Cr $TEMPLATE_SOURCE/ $TEMPLATE_ROOT/
|
||||||
|
|
|
@ -25,7 +25,6 @@ fi
|
||||||
write-pip-manifest os-apply-config
|
write-pip-manifest os-apply-config
|
||||||
|
|
||||||
ln -s /opt/stack/venvs/os-apply-config/bin/os-apply-config /usr/local/bin/os-apply-config
|
ln -s /opt/stack/venvs/os-apply-config/bin/os-apply-config /usr/local/bin/os-apply-config
|
||||||
ln -s /opt/stack/venvs/os-apply-config/bin/os-config-applier /usr/local/bin/os-config-applier
|
|
||||||
|
|
||||||
set +u
|
set +u
|
||||||
deactivate
|
deactivate
|
Loading…
Reference in New Issue