Add pvc-installer to create-local-repo script
This commit is contained in:
parent
13d1c00eda
commit
428c41e9d9
|
@ -4,9 +4,8 @@
|
||||||
# project as a submodule.
|
# project as a submodule.
|
||||||
|
|
||||||
echo "This script will create a new repository for storing your local modifications"
|
echo "This script will create a new repository for storing your local modifications"
|
||||||
echo "and configurations. It will then include the pvc-ansible repository as a"
|
echo "and configurations. It will then include the pvc-ansible and pvc-installer "
|
||||||
echo "submodule for ease of updating and management. Please enter the requested"
|
echo "repositories as submodules for ease of updating and management."
|
||||||
echo "details to proceed."
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo -n "Absolute path to new repository ('~', '\$HOME', etc. are NOT supported): "
|
echo -n "Absolute path to new repository ('~', '\$HOME', etc. are NOT supported): "
|
||||||
|
@ -18,8 +17,9 @@ mkdir -p ${target_path}
|
||||||
pushd ${target_path}
|
pushd ${target_path}
|
||||||
git init .
|
git init .
|
||||||
|
|
||||||
echo "Adding submodule..."
|
echo "Adding submodules..."
|
||||||
git submodule add https://github.com/parallelvirtualcluster/pvc-ansible
|
git submodule add https://github.com/parallelvirtualcluster/pvc-ansible
|
||||||
|
git submodule add https://github.com/parallelvirtualcluster/pvc-installer
|
||||||
|
|
||||||
echo "Creating directories and symlinks..."
|
echo "Creating directories and symlinks..."
|
||||||
mkdir files group_vars roles
|
mkdir files group_vars roles
|
||||||
|
|
Loading…
Reference in New Issue