Change name of script

This commit is contained in:
Arif Ali 2021-03-25 08:27:11 +00:00
parent becc0f2848
commit d46adb4328
Signed by: arif
GPG Key ID: 369608FBA1353A70
4 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ This is a quick-and-dirty set of shell scripts that will build out and
bootstrap a MAAS environment with all of the bits and pieces you need to get
it running for any cloud, any workload.
* `manage-maas-nodes.sh.......`: Create kvm instances that MAAS will manage
* `manage-vm-nodes.sh.........`: Create kvm instances that MAAS will manage
* `manage-hypervisor-nodes.sh.`: Create hypervisors that MAAS will manage
* `bootstrap-maas.sh..........`: Build and bootstrap your MAAS environment
* `functions.sh...............`: Common function that the first 2 scripts use

View File

@ -8,7 +8,7 @@ install_deps()
{
# Install some of the dependent packages
deps="jq"
if [[ "$0" =~ "manage-maas" ]] ; then
if [[ "$0" =~ "manage-vm-nodes" ]] ; then
deps+=" virtinst"
fi
sudo apt -y update && sudo apt -y install ${deps}
@ -216,7 +216,7 @@ read_configs()
configs=""
configs+=" configs/default.config"
configs+=" configs/maas.config"
if [[ "$0" =~ "manage-maas" ]] ; then
if [[ "$0" =~ "manage-vm-nodes" ]] ; then
configs+=" configs/hypervisor.config"
fi

View File

@ -42,8 +42,8 @@ write_files:
ln -sf ${HOSTNAME}.config hypervisor.config
cd ../
chmod +x manage-maas-nodes.sh
./manage-maas-nodes.sh -c
chmod +x manage-vm-nodes.sh
./manage-vm-nodes.sh -c
permissions: '0755'
owner: root:root
- path: /root/install_kvm.sh